[all-commits] [llvm/llvm-project] 53cf53: Add --hot-func-list to llvm-profdata show for samp...

WenleiHe via All-commits all-commits at lists.llvm.org
Wed Jun 24 12:50:16 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 53cf53023cbeb47d03fb9937ab3d06181eec8843
      https://github.com/llvm/llvm-project/commit/53cf53023cbeb47d03fb9937ab3d06181eec8843
  Author: weihe <weihe at dev103.prn2.facebook.com>
  Date:   2020-06-24 (Wed, 24 Jun 2020)

  Changed paths:
    M llvm/include/llvm/ProfileData/SampleProf.h
    A llvm/test/tools/llvm-profdata/Inputs/sample-hot-func-list.proftext
    A llvm/test/tools/llvm-profdata/sample-hot-func-list.test
    M llvm/tools/llvm-profdata/llvm-profdata.cpp

  Log Message:
  -----------
  Add --hot-func-list to llvm-profdata show for sample profiles

Summary:
Add the --hot-func-list feature to llvm-profdata show for sample profiles. This feature prints a list of hot functions whose max sample count are above the 99% threshold, with their numbers of total samples, total samples percentage, max samples, entry samples, and their function names.

Test Plan:

Reviewers: wenlei, hoyFB

Reviewed By: wenlei, hoyFB

Subscribers: hoyFB, wenlei, weihe, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D82355




More information about the All-commits mailing list