Re: [tip:perfcounters/core] perf_counter tools: tidy up in-kerneldependencies

From: Jaswinder Singh Rajput
Date: Wed May 20 2009 - 05:27:05 EST


On Mon, 2009-03-23 at 20:57 +0000, Ingo Molnar wrote:
> Commit-ID: 4d1b100b57e8d472ca3b3a628e03c24d66cb782c
> Gitweb: http://git.kernel.org/tip/4d1b100b57e8d472ca3b3a628e03c24d66cb782c
> Author: Ingo Molnar <mingo@xxxxxxx>
> AuthorDate: Mon, 23 Mar 2009 21:49:25 +0100
> Committer: Ingo Molnar <mingo@xxxxxxx>
> CommitDate: Mon, 23 Mar 2009 21:51:35 +0100
>
> perf_counter tools: tidy up in-kernel dependencies
>
> Remove now unified perfstat.c and perf_counter.h, and link to the
> in-kernel perf_counter.h.
>
> Cc: Wu Fengguang <fengguang.wu@xxxxxxxxx>
> Cc: Paul Mackerras <paulus@xxxxxxxxx>
> Acked-by: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
> LKML-Reference: <20090323172417.677932499@xxxxxxxxx>
> Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
>
>
> ---
> Documentation/perf_counter/Makefile | 2 +-
> Documentation/perf_counter/kerneltop.c | 2 +-
> Documentation/perf_counter/perfcounters.h | 142 ----------------
> Documentation/perf_counter/perfstat.c | 251 -----------------------------
> 4 files changed, 2 insertions(+), 395 deletions(-)
>
> diff --git a/Documentation/perf_counter/Makefile b/Documentation/perf_counter/Makefile
> index b457497..666da95 100644
> --- a/Documentation/perf_counter/Makefile
> +++ b/Documentation/perf_counter/Makefile
> @@ -2,7 +2,7 @@ BINS = kerneltop perfstat
>
> all: $(BINS)
>
> -kerneltop: kerneltop.c perfcounters.h
> +kerneltop: kerneltop.c ../../include/linux/perf_counter.h
> cc -O6 -Wall -lrt `pkg-config --cflags --libs glib-2.0` -o $@ $<
>
> perfstat: kerneltop


Can we support Documentation/perf_counter/Makefile to use
Documentation/Makefile so that we can also get these perf_counter user
apps along with new kernel.

--
JSR

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/