diff options
author | 2017-01-11 15:00:47 +0900 | |
---|---|---|
committer | 2017-01-16 15:35:25 -0300 | |
commit | 3e96dac7c956089d3f23aca98c4dfca57b6aaf8a (patch) | |
tree | 56f609d2bf489d5467c7ab17b2ce6cd174386070 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | perf probe: Fix to show correct locations for events on modules (diff) | |
download | linux-rng-3e96dac7c956089d3f23aca98c4dfca57b6aaf8a.tar.xz linux-rng-3e96dac7c956089d3f23aca98c4dfca57b6aaf8a.zip |
perf probe: Add error checks to offline probe post-processing
Add error check codes on post processing and improve it for offline
probe events as:
- post processing fails if no matched symbol found in map(-ENOENT)
or strdup() failed(-ENOMEM).
- Even if the symbol name is the same, it updates symbol address
and offset.
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/148411443738.9978.4617979132625405545.stgit@devbox
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions