diff options
author | Stephane Eranian <[email protected]> | 2014-01-17 16:34:05 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2014-01-20 16:19:08 -0300 |
commit | 8a398897ff21f73cb8b15a19514660f032926882 (patch) | |
tree | bb08e1fcfe48e09b30ec21f67b7b7fbb5fb7f176 /net/lapb/lapb_out.c | |
parent | 3a46817f674389d5fb2f4dce19fbc73ebd1976bb (diff) |
perf stat: fix NULL pointer reference bug with event unit
This patch fixes a problem with the handling of the newly introduced
optional event unit. The following cmdline caused a segfault:
$ perf stat -e cpu/event-0x3c/ ls
This patch fixes the problem with the default setting for alias->unit
which was eventually causing the segfault.
Signed-off-by: Stephane Eranian <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions