aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2018-06-06 22:15:10 +0000
committerArnaldo Carvalho de Melo <[email protected]>2018-06-07 19:03:21 +0000
commita5cfa6217c94a1f1cfad4481fc14f5fc399abde3 (patch)
treeb86b93ebda3fc2a723ae5dc6b8a29fdf59dd4291 /net/unix/af_unix.c
parentperf stat: Allow to specify specific metric column len (diff)
downloadkernel-a5cfa6217c94a1f1cfad4481fc14f5fc399abde3.tar.gz
kernel-a5cfa6217c94a1f1cfad4481fc14f5fc399abde3.zip
perf stat: Add event parsing error handling to add_default_attributes
Add missing error handling for parse_events calls in add_default_attributes functions. The error handler displays error details, like for transactions (-T): Before: $ perf stat -T Cannot set up transaction events After: $ perf stat -T Cannot set up transaction events event syntax error: '..cycles,cpu/cycles-t/,cpu/tx-start/,cpu/el-start/,cpu/cycles-ct/}' \___ unknown term Signed-off-by: Jiri Olsa <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Andi Kleen <[email protected]> Cc: David Ahern <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Milian Wolff <[email protected]> Cc: Namhyung Kim <[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]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions