diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2010-02-24 21:03:52 -0500 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2010-02-24 22:07:50 -0500 |
commit | c2fbaa4b489b738cd9e7666edfeceaaa38e71c9f (patch) | |
tree | cf3de68faeea1b226ecc2a1c084b96c05e5cc778 /tools/perf | |
parent | cff68e582237cae3cf456f01153202175961dfbe (diff) |
perf/scripts: Tag syscall_name helper as not yet available
syscall_name() helper, which resolves a syscall arch number to
its name, is not yet available as we first need to implement
event injection for it to work.
Remove it from the documentation or tag its references as
unavailable yet. Once it's implemented, we can just revert
the current patch.
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Tom Zanussi <tzanussi@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Keiichi KII <k-keiichi@bx.jp.nec.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf')
-rw-r--r-- | tools/perf/Documentation/perf-trace-perl.txt | 1 | ||||
-rw-r--r-- | tools/perf/Documentation/perf-trace-python.txt | 7 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/perf/Documentation/perf-trace-perl.txt b/tools/perf/Documentation/perf-trace-perl.txt index d2206c3c7aa6..d729cee8d987 100644 --- a/tools/perf/Documentation/perf-trace-perl.txt +++ b/tools/perf/Documentation/perf-trace-perl.txt | |||
@@ -213,7 +213,6 @@ Various utility functions for use with perf trace: | |||
213 | nsecs_nsecs($nsecs) - returns nsecs remainder given nsecs | 213 | nsecs_nsecs($nsecs) - returns nsecs remainder given nsecs |
214 | nsecs_str($nsecs) - returns printable string in the form secs.nsecs | 214 | nsecs_str($nsecs) - returns printable string in the form secs.nsecs |
215 | avg($total, $n) - returns average given a sum and a total number of values | 215 | avg($total, $n) - returns average given a sum and a total number of values |
216 | syscall_name($id) - returns the syscall name for the specified syscall_nr | ||
217 | 216 | ||
218 | SEE ALSO | 217 | SEE ALSO |
219 | -------- | 218 | -------- |
diff --git a/tools/perf/Documentation/perf-trace-python.txt b/tools/perf/Documentation/perf-trace-python.txt index 119d5deba1db..a241aca77184 100644 --- a/tools/perf/Documentation/perf-trace-python.txt +++ b/tools/perf/Documentation/perf-trace-python.txt | |||
@@ -36,7 +36,8 @@ scripts listed by that command. | |||
36 | 36 | ||
37 | The syscall-counts script is a simple script, but demonstrates all the | 37 | The syscall-counts script is a simple script, but demonstrates all the |
38 | basic ideas necessary to create a useful script. Here's an example | 38 | basic ideas necessary to create a useful script. Here's an example |
39 | of its output: | 39 | of its output (syscall names are not yet supported, they will appear |
40 | as numbers): | ||
40 | 41 | ||
41 | ---- | 42 | ---- |
42 | syscall events: | 43 | syscall events: |
@@ -270,7 +271,8 @@ calling the print_syscall_totals() function from the trace_end() | |||
270 | handler called at the end of script processing. | 271 | handler called at the end of script processing. |
271 | 272 | ||
272 | The final script producing the output shown above is shown in its | 273 | The final script producing the output shown above is shown in its |
273 | entirety below: | 274 | entirety below (syscall_name() helper is not yet available, you can |
275 | only deal with id's for now): | ||
274 | 276 | ||
275 | ---- | 277 | ---- |
276 | import os | 278 | import os |
@@ -617,7 +619,6 @@ Various utility functions for use with perf trace: | |||
617 | nsecs_nsecs(nsecs) - returns nsecs remainder given nsecs | 619 | nsecs_nsecs(nsecs) - returns nsecs remainder given nsecs |
618 | nsecs_str(nsecs) - returns printable string in the form secs.nsecs | 620 | nsecs_str(nsecs) - returns printable string in the form secs.nsecs |
619 | avg(total, n) - returns average given a sum and a total number of values | 621 | avg(total, n) - returns average given a sum and a total number of values |
620 | syscall_name(id) - returns the syscall name for the specified syscall_nr | ||
621 | 622 | ||
622 | SEE ALSO | 623 | SEE ALSO |
623 | -------- | 624 | -------- |