Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 218669
b: refs/heads/master
c: 6545aaa
h: refs/heads/master
i:
  218667: c42945a
v: v3
  • Loading branch information
Arnaldo Carvalho de Melo committed Oct 25, 2010
1 parent 672f7b3 commit dd0b2f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6cc7361440e499abb3a30cdbcfedad03e43c92ae
refs/heads/master: 6545aaa561b5678c497e94dea22cb2d1af1d6859
5 changes: 3 additions & 2 deletions trunk/tools/perf/scripts/python/syscall-counts.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

from perf_trace_context import *
from Core import *
from Util import syscall_name

usage = "perf trace -s syscall-counts.py [comm]\n";

Expand All @@ -27,7 +28,7 @@
syscalls = autodict()

def trace_begin():
pass
print "Press control+C to stop and show the summary"

def trace_end():
print_syscall_totals()
Expand Down Expand Up @@ -55,4 +56,4 @@ def print_syscall_totals():

for id, val in sorted(syscalls.iteritems(), key = lambda(k, v): (v, k), \
reverse = True):
print "%-40d %10d\n" % (id, val),
print "%-40s %10d\n" % (syscall_name(id), val),

0 comments on commit dd0b2f6

Please sign in to comment.