Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 182476
b: refs/heads/master
c: c2fbaa4
h: refs/heads/master
v: v3
  • Loading branch information
Frederic Weisbecker committed Feb 25, 2010
1 parent 6a0a50f commit 0d5a9b3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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: cff68e582237cae3cf456f01153202175961dfbe
refs/heads/master: c2fbaa4b489b738cd9e7666edfeceaaa38e71c9f
1 change: 0 additions & 1 deletion trunk/tools/perf/Documentation/perf-trace-perl.txt
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,6 @@ Various utility functions for use with perf trace:
nsecs_nsecs($nsecs) - returns nsecs remainder given nsecs
nsecs_str($nsecs) - returns printable string in the form secs.nsecs
avg($total, $n) - returns average given a sum and a total number of values
syscall_name($id) - returns the syscall name for the specified syscall_nr

SEE ALSO
--------
Expand Down
7 changes: 4 additions & 3 deletions trunk/tools/perf/Documentation/perf-trace-python.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ scripts listed by that command.

The syscall-counts script is a simple script, but demonstrates all the
basic ideas necessary to create a useful script. Here's an example
of its output:
of its output (syscall names are not yet supported, they will appear
as numbers):

----
syscall events:
Expand Down Expand Up @@ -270,7 +271,8 @@ calling the print_syscall_totals() function from the trace_end()
handler called at the end of script processing.

The final script producing the output shown above is shown in its
entirety below:
entirety below (syscall_name() helper is not yet available, you can
only deal with id's for now):

----
import os
Expand Down Expand Up @@ -617,7 +619,6 @@ Various utility functions for use with perf trace:
nsecs_nsecs(nsecs) - returns nsecs remainder given nsecs
nsecs_str(nsecs) - returns printable string in the form secs.nsecs
avg(total, n) - returns average given a sum and a total number of values
syscall_name(id) - returns the syscall name for the specified syscall_nr

SEE ALSO
--------
Expand Down

0 comments on commit 0d5a9b3

Please sign in to comment.