[PATCH] D116784: [ProfileData] Read and symbolize raw memprof profiles.
Snehasish Kumar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 6 17:44:16 PST 2022
snehasish created this revision.
snehasish added reviewers: tejohnson, davidxl.
Herald added subscribers: hiraditya, mgorny.
snehasish requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This change extends the RawMemProfReader to read all the sections of the
raw profile and symbolize the virtual addresses recorded as part of the
callstack for each allocation. For now the symbolization is used to
display the contents of the profile with llvm-profdata.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D116784
Files:
llvm/include/llvm/DebugInfo/DIContext.h
llvm/include/llvm/ProfileData/MemProf.h
llvm/include/llvm/ProfileData/RawMemProfReader.h
llvm/lib/ProfileData/CMakeLists.txt
llvm/lib/ProfileData/RawMemProfReader.cpp
llvm/test/tools/llvm-profdata/Inputs/basic.memprofexe
llvm/test/tools/llvm-profdata/Inputs/basic.memprofraw
llvm/test/tools/llvm-profdata/Inputs/multi.memprofexe
llvm/test/tools/llvm-profdata/Inputs/multi.memprofraw
llvm/test/tools/llvm-profdata/memprof-basic.test
llvm/test/tools/llvm-profdata/memprof-multi.test
llvm/tools/llvm-profdata/llvm-profdata.cpp
llvm/unittests/ProfileData/CMakeLists.txt
llvm/unittests/ProfileData/MemProfTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116784.398023.patch
Type: text/x-patch
Size: 32154 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220107/649c29dd/attachment.bin>
More information about the llvm-commits
mailing list