[all-commits] [llvm/llvm-project] 7cca33: [memprof] Extend llvm-profdata to display MemProf ...
Snehasish Kumar via All-commits
all-commits at lists.llvm.org
Tue Nov 30 10:46:26 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7cca33b40f77c2d8bcd4241bcd0e4c45a0209683
https://github.com/llvm/llvm-project/commit/7cca33b40f77c2d8bcd4241bcd0e4c45a0209683
Author: Snehasish Kumar <snehasishk at google.com>
Date: 2021-11-30 (Tue, 30 Nov 2021)
Changed paths:
M compiler-rt/include/CMakeLists.txt
A compiler-rt/include/profile/MemProfData.inc
M compiler-rt/lib/memprof/CMakeLists.txt
M compiler-rt/lib/memprof/memprof_rawprofile.cpp
M compiler-rt/lib/memprof/memprof_rawprofile.h
A llvm/include/llvm/ProfileData/MemProfData.inc
A llvm/include/llvm/ProfileData/RawMemProfReader.h
M llvm/lib/ProfileData/CMakeLists.txt
A llvm/lib/ProfileData/RawMemProfReader.cpp
A llvm/test/tools/llvm-profdata/Inputs/basic.memprofraw
A llvm/test/tools/llvm-profdata/Inputs/multi.memprofraw
A llvm/test/tools/llvm-profdata/memprof-basic.test
A llvm/test/tools/llvm-profdata/memprof-multi.test
M llvm/test/tools/llvm-profdata/text-format-errors.test
M llvm/tools/llvm-profdata/llvm-profdata.cpp
Log Message:
-----------
[memprof] Extend llvm-profdata to display MemProf profile summaries.
This commit adds initial support to llvm-profdata to read and print
summaries of raw memprof profiles.
Summary of changes:
* Refactor shared defs to MemProfData.inc
* Extend show_main to display memprof profile summaries.
* Add a simple raw memprof profile reader.
* Add a couple of tests to tools/llvm-profdata.
Differential Revision: https://reviews.llvm.org/D114286
More information about the All-commits
mailing list