diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2017-08-01 01:52:28 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-08-01 02:04:52 +0000 |
| commit | 6375f0abeea886ec718d8b0aaf99818c7505de14 (patch) | |
| tree | da8d51a444064428aadc8650e6b779dd811e197a /tools/perf/scripts/python/sctop.py | |
| parent | tools headers: Fixup tools/include/uapi/linux/bpf.h copy of kernel ABI header (diff) | |
| download | kernel-6375f0abeea886ec718d8b0aaf99818c7505de14.tar.gz kernel-6375f0abeea886ec718d8b0aaf99818c7505de14.zip | |
tools include uapi: Grab a copy of asm-generic/ioctls.h
So that we can build on older systems where otherwise we would end up
with:
CC /tmp/build/perf/trace/beauty/ioctl.o
trace/beauty/ioctl.c: In function 'ioctl__scnprintf_tty_cmd':
trace/beauty/ioctl.c:25:17: error: 'TIOCGEXCL' undeclared (first use in this function)
trace/beauty/ioctl.c:25:17: note: each undeclared identifier is reported only once for each function it appears in
trace/beauty/ioctl.c:25:2: error: array index in initializer not of integer type
trace/beauty/ioctl.c:25:2: error: (near initialization for 'ioctl_tty_cmd')
This way we can build a tool on an older system and it will still be
capable of processing perf.data files generated on newer systems.
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
