OSDN Git Service

perf trace: Order -e syscalls table
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 15 Jul 2019 20:28:25 +0000 (17:28 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 29 Jul 2019 21:34:41 +0000 (18:34 -0300)
commit83e69b92b10c2a8b75e1919b7074338f8bdbacaf
treed7e7f5a2a25decb034d95347479db11eac18984c
parent5ca0b7f5004a5f1a35c1cb47894790ad98e34ed1
perf trace: Order -e syscalls table

The ev_qualifier is an array with the syscall ids passed via -e on the
command line, sort it as we'll search it when setting up the
BPF_MAP_TYPE_PROG_ARRAY.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Luis Cláudio Gonçalves <lclaudio@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-c8hprylp3ai6e0z9burn2r3s@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-trace.c