Re: [RFC] perf: perf record sets inherit by default

From: Stephane Eranian
Date: Tue May 11 2010 - 12:01:33 EST


On Tue, May 11, 2010 at 5:56 PM, Arnaldo Carvalho de Melo
<acme@xxxxxxxxxxxxx> wrote:
> Em Tue, May 11, 2010 at 05:52:11PM +0200, Peter Zijlstra escreveu:
>> On Tue, 2010-05-11 at 12:50 -0300, Arnaldo Carvalho de Melo wrote:
>>
>> > Nope, see above.
>>
>> Ah, -p/-t might make sense to default to inherit off indeed.
>
> That is what Stephane wanted in the first place, right?
>
I was asking about the general behavior of the tool and
the contradictory meaning of the -i options.

perf record foo -> default=inherit on, use -i to disable
perf record -t 1234 -> default=inherit off
perf record -p 1234 -> default=on, use -i to disable

What about that?
--
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/