diff options
author | Namhyung Kim <namhyung@kernel.org> | 2015-01-10 11:33:45 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-01-21 17:24:33 +0100 |
commit | 5594b557aacaafbba7ad8e5ed29005df883bfe3a (patch) | |
tree | c4c97897ad7986faf1e0529b1d6add9d7f65b365 /tools/perf/builtin-diff.c | |
parent | perf tools: Document parameterized and symbolic events (diff) | |
download | linux-5594b557aacaafbba7ad8e5ed29005df883bfe3a.tar.xz linux-5594b557aacaafbba7ad8e5ed29005df883bfe3a.zip |
perf tools: Allow use of an exclusive option more than once
The exclusive options are to prohibit use of conflicting options at the
same time. But it had a side effect that it also limits a such option
can be used at most once. Currently the only user of the flag is perf
probe and it allows to use such options more than once, but when one
tries to use it, perf will fail like below:
$ sudo perf probe -x /lib/libc-2.20.so --add malloc --add free
Error: option `add' cannot be used with add
...
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Reviewed-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1420886028-15135-1-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-diff.c')
0 files changed, 0 insertions, 0 deletions