All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH] power_management: add TCID
@ 2013-10-14  8:02 Riku Voipio
  2013-10-14  8:29 ` Wanlong Gao
  0 siblings, 1 reply; 2+ messages in thread
From: Riku Voipio @ 2013-10-14  8:02 UTC (permalink / raw)
  To: ltp-list; +Cc: patches

get_sched_values.c uses interfaces provided by -lltp which need
TCID defined. Not sure how this built successfully before.

Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
---
 testcases/kernel/power_management/get_sched_values.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/testcases/kernel/power_management/get_sched_values.c b/testcases/kernel/power_management/get_sched_values.c
index 08260d5..b9d0156 100644
--- a/testcases/kernel/power_management/get_sched_values.c
+++ b/testcases/kernel/power_management/get_sched_values.c
@@ -17,6 +17,8 @@
 #include <stdio.h>
 #include "test.h"
 
+const char *TCID = "Power_Management";
+
 int get_supp_sched_mc(void)
 {
 	if (tst_kvercmp(2, 6, 29) < 0)
-- 
1.8.1.2


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [LTP] [PATCH] power_management: add TCID
  2013-10-14  8:02 [LTP] [PATCH] power_management: add TCID Riku Voipio
@ 2013-10-14  8:29 ` Wanlong Gao
  0 siblings, 0 replies; 2+ messages in thread
From: Wanlong Gao @ 2013-10-14  8:29 UTC (permalink / raw)
  To: Riku Voipio; +Cc: ltp-list, patches

On 10/14/2013 04:02 PM, Riku Voipio wrote:
> get_sched_values.c uses interfaces provided by -lltp which need
> TCID defined. Not sure how this built successfully before.
> 
> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
> ---
>  testcases/kernel/power_management/get_sched_values.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/testcases/kernel/power_management/get_sched_values.c b/testcases/kernel/power_management/get_sched_values.c
> index 08260d5..b9d0156 100644
> --- a/testcases/kernel/power_management/get_sched_values.c
> +++ b/testcases/kernel/power_management/get_sched_values.c
> @@ -17,6 +17,8 @@
>  #include <stdio.h>
>  #include "test.h"
>  
> +const char *TCID = "Power_Management";

Why not use "get_sched_values" instead? This TCID "Power_Management" is already used in "runpwtests.sh".

Thanks,
Wanlong Gao

> +
>  int get_supp_sched_mc(void)
>  {
>  	if (tst_kvercmp(2, 6, 29) < 0)
> 


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-10-14  8:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-14  8:02 [LTP] [PATCH] power_management: add TCID Riku Voipio
2013-10-14  8:29 ` Wanlong Gao

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.