diff options
author | Namhyung Kim <namhyung.kim@lge.com> | 2012-05-16 11:45:47 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-05-16 17:09:34 +0200 |
commit | aa22dd4990e38700b1855555aa0def5215859abb (patch) | |
tree | b49e4b99db265a0dc7bd38d5605396889985e395 /tools/perf/config | |
parent | perf/x86/ibs: Fix undefined reference to `get_ibs_caps' (diff) | |
download | linux-aa22dd4990e38700b1855555aa0def5215859abb.tar.xz linux-aa22dd4990e38700b1855555aa0def5215859abb.zip |
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 <namhyung.kim@lge.com>
Suggested-by: David Ahern <dsahern@gmail.com>
Suggested-by: Ingo Molnar <mingo@kernel.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1337161549-9870-1-git-send-email-namhyung.kim@lge.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/config')
0 files changed, 0 insertions, 0 deletions