diff options
author | Wang Nan <[email protected]> | 2016-05-24 02:28:59 +0000 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-05-30 12:41:44 -0300 |
commit | c45628b0a3f90c4ffeca5f72f227008ceedc21c5 (patch) | |
tree | da39888cd2388ca752f09e48909520d0bc9e524a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 792d48b4cf9c248ab2bf66c140a27c48e116bed7 (diff) |
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/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions