perf trace: Remove duplicate mmap entry in syscall_fmts array
authorDavid Ahern <[email protected]>
Wed, 4 Sep 2013 18:37:44 +0000 (12:37 -0600)
committerArnaldo Carvalho de Melo <[email protected]>
Wed, 9 Oct 2013 14:10:56 +0000 (11:10 -0300)
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 <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/builtin-trace.c

index bc21140ac782875deabd6a2246c152980c10fc15..903416c573af5d504f4b5f0f72569b03f65b5323 100644 (file)
@@ -461,7 +461,6 @@ static struct syscall_fmt {
        { .name     = "arch_prctl", .errmsg = true, .alias = "prctl", },
        { .name     = "brk",        .hexret = true,
          .arg_scnprintf = { [0] = SCA_HEX, /* brk */ }, },
-       { .name     = "mmap",       .hexret = true, },
        { .name     = "connect",    .errmsg = true, },
        { .name     = "fcntl",      .errmsg = true,
          .arg_scnprintf = { [1] = SCA_STRARRAY, /* cmd */ },