[PATCH] D126834: [memprof] Display segment information, update summary output.

Snehasish Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 1 15:29:10 PDT 2022


snehasish created this revision.
snehasish added a reviewer: tejohnson.
Herald added a subscriber: hiraditya.
Herald added a project: All.
snehasish requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Update the YAML format print out of the profile to include a summary
instead of displaying the headers in the raw file buffer. This allows us
to release the raw buffer early saving memory. Also display segment
information in the YAML output for testing. In the future we intend
to include the build uuid (generated by the linker) in the segment
information.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D126834

Files:
  llvm/include/llvm/ProfileData/RawMemProfReader.h
  llvm/lib/ProfileData/RawMemProfReader.cpp
  llvm/test/tools/llvm-profdata/memprof-basic.test
  llvm/test/tools/llvm-profdata/memprof-inline.test
  llvm/test/tools/llvm-profdata/memprof-multi.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126834.433576.patch
Type: text/x-patch
Size: 13121 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220601/1b7dc337/attachment.bin>


More information about the llvm-commits mailing list