diff options
author | David Ahern <dsahern@gmail.com> | 2013-09-04 14:37:44 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-10-09 10:10:56 -0400 |
commit | 770480592084d2c114adedfbe6740e345aaf2279 (patch) | |
tree | c6f4a81e658c5978b2475482853d6f2dc82aae3f /tools/perf/builtin-trace.c | |
parent | 4bb09192d38ef08f0619667527cabb26354fff89 (diff) |
perf trace: Remove duplicate mmap entry in syscall_fmts array
Entries in syscall_fmts need to be in alphabetical order, and the
duplicate entry breaks bsearch on new entries around this duplicate
entry.
Signed-off-by: David Ahern <dsahern@gmail.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1378319865-55695-2-git-send-email-dsahern@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-trace.c')
-rw-r--r-- | tools/perf/builtin-trace.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c index bc21140ac782..903416c573af 100644 --- a/tools/perf/builtin-trace.c +++ b/tools/perf/builtin-trace.c | |||
@@ -461,7 +461,6 @@ static struct syscall_fmt { | |||
461 | { .name = "arch_prctl", .errmsg = true, .alias = "prctl", }, | 461 | { .name = "arch_prctl", .errmsg = true, .alias = "prctl", }, |
462 | { .name = "brk", .hexret = true, | 462 | { .name = "brk", .hexret = true, |
463 | .arg_scnprintf = { [0] = SCA_HEX, /* brk */ }, }, | 463 | .arg_scnprintf = { [0] = SCA_HEX, /* brk */ }, }, |
464 | { .name = "mmap", .hexret = true, }, | ||
465 | { .name = "connect", .errmsg = true, }, | 464 | { .name = "connect", .errmsg = true, }, |
466 | { .name = "fcntl", .errmsg = true, | 465 | { .name = "fcntl", .errmsg = true, |
467 | .arg_scnprintf = { [1] = SCA_STRARRAY, /* cmd */ }, | 466 | .arg_scnprintf = { [1] = SCA_STRARRAY, /* cmd */ }, |