lkml.org 
[lkml]   [2013]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 10/10] perf record: Add an option to force per-cpu mmaps
On Fri, Nov 15, 2013 at 02:52:44PM +0200, Adrian Hunter wrote:
> On 15/11/13 14:03, Peter Zijlstra wrote:
> > On Fri, Nov 15, 2013 at 12:56:29PM +0100, Ingo Molnar wrote:
> >> So, here's the current status quo, there's 4 basic types of profiling
> >> that 99% of the people are using, in order of popularity:
> >>
> >> perf record <cmd>
> >> perf record -a sleep N
> >> perf record -p <PID>
> >> perf record -t <TID>
> >>
> >> The first two (which I'd guess comprise about 95% of real-world usage)
> >> have inheritance enabled.
> >>
> >> The last two (-p/-t) have inheritance disabled by default.
> >
> > Yes, and I would expect it to be disabled for the TID option as you
> > explicitly select a single threads.
>
> So you want -t to imply -i ?
>
> That means if you want inheritance you have to do
>
> -t <TID> --no-no-inherit
>
> Or do you want another option --inherit

/me boggles, they're not the same? ;-)

Maybe we should extend the option parser to know that a double negative
is a nop :-)


\
 
 \ /
  Last update: 2013-11-15 14:01    [W:0.206 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site