Re: [tree] Performance Counters for Linux, v7

From: Ingo Molnar
Date: Mon Mar 23 2009 - 18:07:56 EST



* Jaswinder Singh Rajput <jaswinder@xxxxxxxxxx> wrote:

> On Sat, 2009-03-21 at 17:10 +0100, Ingo Molnar wrote:
>
> > There's also been lots of updates to the userspace tools (kerneltop
> > and perfstat):
> >
> > http://redhat.com/~mingo/perfcounters/kerneltop.c
> > http://redhat.com/~mingo/perfcounters/perfstat.c
> >
>
> If possible, can we also prepare git tree for these userspace
> tools by this way we can also look on logs and check incremental
> changes otherwise we leads to:
>
> [jaswinder@hpdv5 20090321]$ cc -O2 -g -lrt -Wall -W -o perfstat perfstat.c
> perfstat.c:57:40: error: include/linux/perf_counter.h: No such file or directory

to get the latest perfcounter tools, do this on latest -tip:

cd Documentation/perf_counter/
make

which will build the sample tools. kerneltop and perfstat has been
unified into a single .c file by Wu Fengguang, with updates by Peter
Zijstra.

Ingo
--
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/