Re: [PATCH 9/9] perf, tools, record: Always allow to overide default period v2

From: Namhyung Kim
Date: Wed May 14 2014 - 01:50:57 EST


On Mon, 12 May 2014 15:51:14 -0700, Andi Kleen wrote:
> From: Andi Kleen <ak@xxxxxxxxxxxxxxx>
>
> Fix the logic to allow overriding event default periods with -c or -F
> on the command line. I'm not sure I understand this if() fully, but
> this change makes all cases I tested work (tracepoint with default, default,
> ,-c, -F)
>
> This fixed specifying -c / -F with json event list events,
> which have a default period. It should do the same
> for trace point events.

Hmm.. doesn't that require both -c and -F are given at the same time?

Anyway, there was a similar discussion, but I suggested an other way.
Please see the line below.

https://lkml.org/lkml/2014/2/4/807

Thanks,
Namhyung
--
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/