path: root/tools/perf/config
diff options
authorJiri Olsa <>2015-09-07 10:38:06 +0200
committerArnaldo Carvalho de Melo <>2015-09-15 09:48:33 -0300
commit8dd2a1317eba2c207632dcb19adb7cb746861652 (patch)
tree15d062f65152a883e2dd459f397bbcf5b1cffe68 /tools/perf/config
parente2f9f8ea6a54e252e3a94a5c2321f673b5b97360 (diff)
perf evsel: Propagate error info from tp_format
Propagate error info from tp_format via ERR_PTR to get it all the way down to the parse-event.c tracepoint adding routines. Following functions now return pointer with encoded error: - tp_format - trace_event__tp_format - perf_evsel__newtp_idx - perf_evsel__newtp This affects several other places in perf, that cannot use pointer check anymore, but must utilize the err.h interface, when getting error information from above functions list. Signed-off-by: Jiri Olsa <> Cc: David Ahern <> Cc: Matt Fleming <> Cc: Namhyung Kim <> Cc: Peter Zijlstra <> Cc: Raphael Beamonte <> Link: [ Add two missing ERR_PTR() and one IS_ERR() ] Signed-off-by: Arnaldo Carvalho de Melo <>
Diffstat (limited to 'tools/perf/config')
0 files changed, 0 insertions, 0 deletions