diff options
| author | Wang Nan <[email protected]> | 2016-05-24 02:28:59 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-05-30 15:41:44 +0000 |
| commit | c45628b0a3f90c4ffeca5f72f227008ceedc21c5 (patch) | |
| tree | da39888cd2388ca752f09e48909520d0bc9e524a /tools/lib/api/fd/array.h | |
| parent | perf tools: Per event max-stack settings (diff) | |
| download | kernel-c45628b0a3f90c4ffeca5f72f227008ceedc21c5.tar.gz kernel-c45628b0a3f90c4ffeca5f72f227008ceedc21c5.zip | |
perf record: Robustify perf_event__synth_time_conv()
It is possible that all events in an evlist are overwritable.
perf_event__synth_time_conv() should not crash in this case.
record__pick_pc() is used to check avaliability.
Signed-off-by: Wang Nan <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Zefan Li <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: He Kuang <[email protected]>
[ Split from a larger patch ]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/lib/api/fd/array.h')
0 files changed, 0 insertions, 0 deletions
