Lines Matching refs:syscall

32 'syscall-counts' script you see when you list the available perf script
37 The syscall-counts script is a simple script, but demonstrates all the
39 of its output (syscall names are not yet supported, they will appear
43 syscall events:
73 Basically our task is to keep a per-syscall tally that gets updated
81 allowable by perf. These individual syscall events will however be
88 'id' field can be used to distinguish between individual syscall
91 For this script, we only need to know that a syscall was entered; we
102 The options basically say to collect data for every syscall event
192 # mv perf-script.py syscall-counts.py
193 # perf script -s syscall-counts.py
235 been counted. A hash table indexed by syscall id is a good way to
238 that syscall id:
261 effectively end up with a single-level dictionary keyed on syscall id
265 dictionary and displays a line for each entry containing the syscall
266 name (the dictionary keys contain the syscall ids, which are passed to
267 the Util function syscall_name(), which translates the raw syscall
268 numbers to the corresponding syscall name strings). The output is
318 # perf script -s syscall-counts.py
358 # cat kernel-source/tools/perf/scripts/python/bin/syscall-counts-record
370 # cat kernel-source/tools/perf/scripts/python/bin/syscall-counts-report
373 # description: system-wide syscall counts
374 perf script -s ~/libexec/perf-core/scripts/python/syscall-counts.py
394 -rw-r--r-- 1 trz trz 1462 2010-01-26 22:30 syscall-counts.py
407 syscall-counts system-wide syscall counts
412 # perf script record syscall-counts
416 # perf script report syscall-counts