lkml.org 
[lkml]   [2018]   [Jan]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] perf trace powerpc: Remove libaudit dependency for syscalls
Date
This is almost identical set of patches recently done for s390.

With this, user can run perf trace without libaudit on powerpc
as well. Ex,

$ make
... libaudit: [ OFF ]

$ ./perf trace ls
0.221 ( 0.005 ms): ls/43330 open(filename: 0xac1e2778, flags: CLOEXEC ) = 3
0.227 ( 0.003 ms): ls/43330 read(fd: 3, buf: 0x3ffff9c4d678, count: 832 ) = 832
0.233 ( 0.002 ms): ls/43330 fstat(fd: 3, statbuf: 0x3ffff9c4d4b0 ) = 0
...

$ ./perf trace -e "open*" ls
0.000 ( 0.014 ms): ls/43342 open(filename: 0x793d8978, flags: CLOEXEC ) = 3
0.038 ( 0.006 ms): ls/43342 open(filename: 0x793f2778, flags: CLOEXEC ) = 3
...

Ravi Bangoria (3):
tools include powerpc: Grab a copy of
arch/powerpc/include/uapi/asm/unistd.h
perf powerpc: Generate system call table from asm/unistd.h
perf trace powerpc: Use generated syscall table

tools/arch/powerpc/include/uapi/asm/unistd.h | 399 +++++++++++++++++++++
tools/perf/Makefile.config | 2 +
tools/perf/arch/powerpc/Makefile | 21 ++
.../perf/arch/powerpc/entry/syscalls/mksyscalltbl | 35 ++
tools/perf/check-headers.sh | 1 +
tools/perf/util/syscalltbl.c | 4 +
6 files changed, 462 insertions(+)
create mode 100644 tools/arch/powerpc/include/uapi/asm/unistd.h
create mode 100755 tools/perf/arch/powerpc/entry/syscalls/mksyscalltbl

--
1.8.3.1

\
 
 \ /
  Last update: 2018-01-29 09:33    [W:0.151 / U:4.436 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site