lkml.org 
[lkml]   [2009]   [Mar]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2009-03-23 23:11    [W:0.038 / U:0.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site