Naveen N. Rao
6fae8663c9
perf scripting python: Add ppc64le to audit uname list
Before patch:
$ uname -m
ppc64le
$ ./perf script -s ./scripts/python/syscall-counts.py
Install the audit-libs-python package to get syscall names.
For example:
# apt-get install python-audit (Ubuntu)
# yum install audit-libs-python (Fedora)
etc.
Press control+C to stop and show the summary
^CWarning:
4 out of order events recorded.
syscall events:
event count
---------------------------------------- -----------
4 504638
54 1206
221 42
55 21
3 12
167 10
11 8
6 7
125 6
5 6
108 5
162 4
90 4
45 3
33 3
311 1
246 1
238 1
93 1
91 1
After patch:
./perf script -s ./scripts/python/syscall-counts.py
Press control+C to stop and show the summary
^CWarning:
5 out of order events recorded.
syscall events:
event count
---------------------------------------- -----------
write 643411
ioctl 1206
futex 54
fcntl 27
poll 14
read 12
execve 8
close 7
mprotect 6
open 6
nanosleep 5
fstat 5
mmap 4
inotify_add_watch 3
brk 3
access 3
timerfd_settime 1
clock_gettime 1
epoll_wait 1
ftruncate 1
munmap 1
Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Acked-by: Paul Clarke <pc@us.ibm.com>
Cc: linuxppc-dev@lists.ozlabs.org
Link: http://lkml.kernel.org/n/tip-bnl67p1alkvx97pn9moxz3qp@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2017-08-11 10:42:52 -03:00
..
2016-09-23 13:07:15 -06:00
2017-07-31 10:35:28 -03:00
2017-08-10 12:02:26 +02:00
2017-01-26 16:29:09 +01:00
2017-07-05 12:31:59 -07:00
2017-05-07 16:08:04 +01:00
2017-08-01 13:04:56 -03:00
2017-07-26 19:04:53 +02:00
2016-09-23 13:07:21 -06:00
2017-02-14 22:20:23 +01:00
2017-05-01 20:51:12 -07:00
2017-08-10 17:07:02 +02:00
2017-06-14 15:03:22 -04:00
2017-07-08 10:29:48 +02:00
2017-04-28 10:23:20 -05:00
2016-09-23 13:07:27 -06:00
2017-08-11 10:42:52 -03:00
2017-07-04 14:16:49 -07:00
2017-06-06 09:01:12 +09:00
2017-03-21 18:44:40 +00:00
2017-08-07 10:06:27 -07:00
2017-06-20 11:39:34 +08:00
2017-05-09 16:43:24 +03:00
2017-02-22 16:41:26 -08:00
2017-06-05 09:28:08 +02:00