diff options
author | Namhyung Kim <[email protected]> | 2012-05-16 18:45:47 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2012-05-16 12:09:34 -0300 |
commit | aa22dd4990e38700b1855555aa0def5215859abb (patch) | |
tree | b49e4b99db265a0dc7bd38d5605396889985e395 /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | 978da300c7a65494692b329a6a4cbf364afc37c5 (diff) |
perf target: Rename functions to avoid double negation
Rename perf_target__no_{cpu,task} to perf_target__has_{cpu,task} because
it's more intuitive and easy to parse (for human beings) when used with
negation.
The names are came out from David Ahern. It is intended to be a
mechanical substitution without any functional change.
The perf_target__none remains unchanged since I couldn't find a right
name and it is hardly used with negation.
Signed-off-by: Namhyung Kim <[email protected]>
Suggested-by: David Ahern <[email protected]>
Suggested-by: Ingo Molnar <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions