lkml.org 
[lkml]   [2013]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 06/29] tools lib traceevent: Add jbd2 plugin
On Fri, Nov 29, 2013 at 04:31:13PM -0300, Arnaldo Carvalho de Melo wrote:
> Em Fri, Nov 29, 2013 at 03:42:35PM -0300, Arnaldo Carvalho de Melo escreveu:
> > Em Thu, Nov 28, 2013 at 12:33:05PM +0100, Jiri Olsa escreveu:
> > > This plugin adds field resolving functions for following tracepoint events:
> > > jbd2:jbd2_checkpoint_stats
> > > jbd2:jbd2_run_stats
>
> > > The diff of 'perf script' output generated by old and new code:
> > > (data was generated by 'perf record -e 'jbd2:jbd2_run_stats,jbd2:jbd2_checkpoint_stats' -a')
>
> > The lines after one that starts with
>
> > ---
>
> > are ignored by 'git am', please ident them with at least one space,
> > I'm doing that this time.
> >
> > > --- script.jbd2.old
> > > +++ script.jbd2.new
>
> Also I just tried:
>
> [acme@ssdandy linux]$ git log --oneline | head -7
> b0496b02fcea tools lib traceevent: Add hrtimer plugin
> 1ec7a71e0b2c tools lib traceevent: Add jbd2 plugin
> c63100c95c6e tools lib traceevent: Add traceevent_host_bigendian function
> d54b335656b7 tools lib traceevent: Add plugin build support
> e796a0d73bcc tools lib traceevent: Add plugin support
> 28c803842250 perf tools: Include test-stackprotector-all.c in test-all
> 1a69f6ce513d perf timechart: Move wake_events list to 'struct timechart'
> [acme@ssdandy linux]$
>
> [acme@ssdandy linux]$ time make O=/tmp/build/perf -C tools/perf/ install
> <SNIP successful build>
>
> [acme@ssdandy linux]$ ls -la ~/.traceevent
> ls: cannot access /home/acme/.traceevent: No such file or directory
> [acme@ssdandy linux]$
>
> Where did the plugins go? At least two should be there by now, no?

At this stage (patches applied) you'd need to run the
make for traceevent directory.

The perf installation link is done within this patch:
perf tools: Add build and install plugins targets

which I presume you haven't applied yet?

jirka


\
 
 \ /
  Last update: 2013-11-30 18:21    [W:0.093 / U:0.804 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site