[PATCH] D16005: Display detailed profile summary in llvm-profdata tool

Easwaran Raman via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 12 15:10:20 PST 2016


eraman added inline comments.

================
Comment at: test/tools/llvm-profdata/general.proftext:66
@@ +65,3 @@
+
+# RUN: llvm-profdata show --detailed-summary %t.profdata | FileCheck %s -check-prefix=DETAILED-SUMMARY
+# DETAILED-SUMMARY: Detailed summary:
----------------
Those are not the default values. That's the value description string shown in the help message.

================
Comment at: test/tools/llvm-profdata/general.proftext:78
@@ +77,3 @@
+
+# RUN: llvm-profdata show --detailed-summary --detailed-summary-cutoffs=600000 %t.profdata | FileCheck %s -check-prefix=DETAILED-SUMMARY-2
+# DETAILED-SUMMARY-2: 2 blocks with count >= 576460752303423488 account for 60 percentage of the total counts.
----------------
Good point. It helped me identify a bug - I've fixed that and added the test case.


http://reviews.llvm.org/D16005





More information about the llvm-commits mailing list