diff options
author | Jan Kiszka <[email protected]> | 2020-07-02 14:53:59 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2020-07-06 09:02:35 -0300 |
commit | e8f331aa91a2cfe53fb8585bc45baac66fb54096 (patch) | |
tree | 7ea52ad4d1c1f2bfed021883b708613253f45019 /tools/perf/scripts/python | |
parent | 4e59ab93e2f4ace864467c946286ea353d8eeeba (diff) |
tools lib traceevent: Fix reporting of unknown SVM exit reasons
On AMD, exist code -1 is also a possible value, but we use it for
terminating the list of known exit reasons. This leads to EXIT_ERR being
reported for unkown ones. Fix this by using an NULL string pointer as
terminal.
Link: http://lkml.kernel.org/r/[email protected]
Link: http://lore.kernel.org/linux-trace-devel/[email protected]
Signed-off-by: Jan Kiszka <[email protected]>
[ Ported from trace-cmd.git ]
Cc: Andrew Morton <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: [email protected]
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Signed-off-by: Tzvetomir Stoyanov (VMware) <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions