llvm-project/llvm/tools/llvm-profgen
Wenlei He da4e5fc861 [llvm-profgen] Deduplicate PID when processing perf input
When parsing mmap to retrieve PID, deduplicate them before passing PID list to perf script. Perf script would error out when there's duplicated PID in the input, however raw perf data may main duplicated PID for large binary where more than one mmap is needed to load executable segment.

Differential Revision: https://reviews.llvm.org/D111384
2021-10-10 13:30:17 -07:00
..
CMakeLists.txt [CSSPGO] Migrate and refactor the decoder of Pseudo Probe 2021-08-04 09:21:34 -07:00
CSPreInliner.cpp [llvm-profgen] Use context-sensitive byte size cost for preinliner decisions by default 2021-09-16 10:36:12 -07:00
CSPreInliner.h [CSSPGO] Split context string to deduplicate function name used in the context. 2021-08-30 20:09:29 -07:00
CallContext.h [CSSPGO] Rename the field of SampleContextFrame 2021-10-04 19:06:59 -07:00
ErrorHandling.h [llvm] Replace LLVM_ATTRIBUTE_NORETURN with C++11 [[noreturn]] 2021-07-28 09:31:14 -07:00
PerfReader.cpp [llvm-profgen] Deduplicate PID when processing perf input 2021-10-10 13:30:17 -07:00
PerfReader.h [llvm-porfgen] Allow perf data as input 2021-09-29 22:57:35 -07:00
ProfileGenerator.cpp [llvm-profgen] Ignore branch count against outline function 2021-10-07 14:03:34 -07:00
ProfileGenerator.h [llvm-profgen] Ignore branch count against outline function 2021-10-07 14:03:34 -07:00
ProfiledBinary.cpp Move TargetRegistry.(h|cpp) from Support to MC 2021-10-08 14:51:48 -07:00
ProfiledBinary.h [llvm-profgen][CSSPGO] On-demand function size computation for preinliner 2021-09-28 09:09:38 -07:00
llvm-profgen.cpp [llvm-porfgen] Allow perf data as input 2021-09-29 22:57:35 -07:00