]> git.baikalelectronics.ru Git - kernel.git/commit
perf bench: Fix segfault at the end of an 'all' execution
authorRamkumar Ramachandra <artagnon@gmail.com>
Thu, 27 Mar 2014 23:50:19 +0000 (19:50 -0400)
committerJiri Olsa <jolsa@redhat.com>
Mon, 14 Apr 2014 10:55:53 +0000 (12:55 +0200)
commitead99311c1125265d8978daf16e1848f1cf14cfe
treefe0e946ecbcc3747e75413b22a1e24687c9d4bbc
parentdcf7557cd9f1e099a07947a34c2a08fa1145931d
perf bench: Fix segfault at the end of an 'all' execution

At the end of

  $ perf bench all

the program segfaults because it attempts to dereference a NULL
pointer. Fix this fault.

Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/1395964219-22173-4-git-send-email-artagnon@gmail.com
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
tools/perf/builtin-bench.c