]> git.karo-electronics.de Git - linux-beck.git/commit
perf trace: Do not accept --no-syscalls together with -e
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 12 Apr 2016 19:05:02 +0000 (16:05 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 13 Apr 2016 13:11:52 +0000 (10:11 -0300)
commit59247e33ff494e3643cdff54b64bf72575052b76
tree75bbf85deaff38eaa562eefb45bdb38fbcd38849
parente20ab86e51218f9949f41fb39a6c4f63b662f135
perf trace: Do not accept --no-syscalls together with -e

Doesn't make sense and was causing a segfault, fix it.

  # trace -e clone --no-syscalls --event sched:*exec firefox
  The -e option can't be used with --no-syscalls.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Milian Wolff <milian.wolff@kdab.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-ccrahezikdk2uebptzr1eyyi@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-trace.c