summaryrefslogtreecommitdiffstats
path: root/llvm/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
commita79d2b54d2ad1498aa0f21c636b85b86edf6a426 (patch)
tree3070cd0926cb2e2bc125f7667a697512da60a156 /llvm/tools/llvm-prof/llvm-prof.cpp
parente4fb19033e5e3b4900e705fb8724461b0fae3b70 (diff)
downloadbcm5719-llvm-a79d2b54d2ad1498aa0f21c636b85b86edf6a426.tar.gz
bcm5719-llvm-a79d2b54d2ad1498aa0f21c636b85b86edf6a426.zip
Add the ability to synthesize function counts from block count information
llvm-svn: 9595
Diffstat (limited to 'llvm/tools/llvm-prof/llvm-prof.cpp')
-rw-r--r--llvm/tools/llvm-prof/llvm-prof.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-prof/llvm-prof.cpp b/llvm/tools/llvm-prof/llvm-prof.cpp
index 083e1ce1700..a459a389373 100644
--- a/llvm/tools/llvm-prof/llvm-prof.cpp
+++ b/llvm/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());
OpenPOWER on IntegriCloud