Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 218670
b: refs/heads/master
c: 2e7d1e3
h: refs/heads/master
v: v3
  • Loading branch information
Arnaldo Carvalho de Melo committed Oct 25, 2010
1 parent dd0b2f6 commit c436d97
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 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: 6545aaa561b5678c497e94dea22cb2d1af1d6859
refs/heads/master: 2e7d1e3fb8043380a2fc5d759eb357bf05acf935
7 changes: 2 additions & 5 deletions trunk/tools/perf/scripts/python/sctop.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@
# will be refreshed every [interval] seconds. The default interval is
# 3 seconds.

import thread
import time
import os
import sys
import os, sys, thread, time

sys.path.append(os.environ['PERF_EXEC_PATH'] + \
'/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
Expand Down Expand Up @@ -71,7 +68,7 @@ def print_syscall_totals(interval):
for id, val in sorted(syscalls.iteritems(), key = lambda(k, v): (v, k), \
reverse = True):
try:
print "%-40d %10d\n" % (id, val),
print "%-40s %10d\n" % (syscall_name(id), val),
except TypeError:
pass
syscalls.clear()
Expand Down

0 comments on commit c436d97

Please sign in to comment.