diff options
| author | Tzvetomir Stoyanov <[email protected]> | 2018-11-28 19:55:52 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-12-17 17:55:19 +0000 |
| commit | 44e92f8389b2242efde77d5321ffa88decd47df6 (patch) | |
| tree | 6701602f671f8ef1115c1163406d0aa9722fdfb7 /tools/perf/util/annotate.h | |
| parent | perf beauty mmap_flags: Check if the arch has a mmap.h file (diff) | |
| download | kernel-44e92f8389b2242efde77d5321ffa88decd47df6.tar.gz kernel-44e92f8389b2242efde77d5321ffa88decd47df6.zip | |
tools lib traceevent: Add sanity check to is_timestamp_in_us()
This patch adds a sanity check to is_timestamp_in_us() input parameter
trace_clock. It avoids a potential segfault in this function for the
case trace_clock is NULL.
Reported-by: Slavomir Kaslev <[email protected]>
Signed-off-by: Tzvetomir Stoyanov <[email protected]>
Cc: Jiri Olsa <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.h')
0 files changed, 0 insertions, 0 deletions
