aboutsummaryrefslogtreecommitdiffstats
path: root/tools/llvm-prof/llvm-prof.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-10-29 21:47:44 +0000
committerChris Lattner <sabre@nondot.org>2003-10-29 21:47:44 +0000
commit750ba3d6eb1144caa3ba2bec1de3a1a4c9b970eb (patch)
tree9beefa1bd9e64bcda23dc9d99e7ff1c12430f554 /tools/llvm-prof/llvm-prof.cpp
parent18884a86ae337b6ce9636738c069a87004d43017 (diff)
downloadexternal_llvm-750ba3d6eb1144caa3ba2bec1de3a1a4c9b970eb.zip
external_llvm-750ba3d6eb1144caa3ba2bec1de3a1a4c9b970eb.tar.gz
external_llvm-750ba3d6eb1144caa3ba2bec1de3a1a4c9b970eb.tar.bz2
Add the ability to synthesize function counts from block count information
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9595 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-prof/llvm-prof.cpp')
-rw-r--r--tools/llvm-prof/llvm-prof.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-prof/llvm-prof.cpp b/tools/llvm-prof/llvm-prof.cpp
index 083e1ce..a459a38 100644
--- a/tools/llvm-prof/llvm-prof.cpp
+++ b/tools/llvm-prof/llvm-prof.cpp
@@ -123,7 +123,7 @@ int main(int argc, char **argv) {
unsigned BlocksToPrint = Counts.size();
if (BlocksToPrint > 20) BlocksToPrint = 20;
for (unsigned i = 0; i != BlocksToPrint; ++i)
- printf("%3d. %5d/%d %s - %s\n", i+1, Counts[i].second, TotalExecutions,
+ printf("%3d. %5d/%d %s() - %s\n", i+1, Counts[i].second, TotalExecutions,
Counts[i].first->getParent()->getName().c_str(),
Counts[i].first->getName().c_str());