Messages in this thread | | | Date | Mon, 23 Mar 2009 23:06:30 +0100 | From | Ingo Molnar <> | Subject | Re: [tree] Performance Counters for Linux, v7 |
| |
* Jaswinder Singh Rajput <jaswinder@kernel.org> 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
| |