linux/tools/perf/arch/x86/util
Wang Nan c45628b0a3 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 <wangnan0@huawei.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Zefan Li <lizefan@huawei.com>
Cc: pi3orama@163.com
Link: http://lkml.kernel.org/r/1464056944-166978-3-git-send-email-wangnan0@huawei.com
Signed-off-by: He Kuang <hekuang@huawei.com>
[ Split from a larger patch ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2016-05-30 12:41:44 -03:00
..
auxtrace.c perf tools: Add Intel BTS support 2015-08-21 11:34:10 -03:00
Build perf bpf: Compile dwarf-regs.c if CONFIG_BPF_PROLOGUE is on 2015-11-18 17:51:03 -03:00
dwarf-regs.c perf dwarf: Guard !x86_64 definitions under #ifdef else clause 2016-04-08 12:04:29 -03:00
header.c perf tools: Use scnprintf where applicable 2012-03-14 12:36:19 -03:00
intel-bts.c perf intel-pt/bts: Define JITDUMP_USE_ARCH_TIMESTAMP 2016-04-01 18:46:24 -03:00
intel-pt.c perf intel-pt/bts: Define JITDUMP_USE_ARCH_TIMESTAMP 2016-04-01 18:46:24 -03:00
kvm-stat.c perf kvm/{x86,s390}: Remove const from kvm_events_tp 2016-01-29 17:49:53 -03:00
perf_regs.c perf tools: Fix link time error with sample_reg_masks on non x86 2015-09-01 13:04:41 -03:00
pmu.c perf tools: Add Intel BTS support 2015-08-21 11:34:10 -03:00
tsc.c perf record: Robustify perf_event__synth_time_conv() 2016-05-30 12:41:44 -03:00
unwind-libdw.c perf tools: Add libdw DWARF post unwind support 2014-02-24 09:29:36 -03:00
unwind-libunwind.c perf tools: Move pr_* debug macros into debug object 2014-07-17 12:58:39 -03:00