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

WenleiHe via All-commits all-commits at lists.llvm.org
Sat Jun 20 10:30:00 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7348b951fe74f306970f6ac567fe5dddbb1c42d4
      https://github.com/llvm/llvm-project/commit/7348b951fe74f306970f6ac567fe5dddbb1c42d4
  Author: weihe <weihe at dev103.prn2.facebook.com>
  Date:   2020-06-20 (Sat, 20 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.

Reviewers: wmi, hoyFB, wenlei

Reviewed By: wmi

Subscribers: hoyFB, wenlei, llvm-commits, weihe

Tags: #llvm

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




More information about the All-commits mailing list