diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2024-03-15 19:18:14 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2024-03-21 13:41:27 +0000 |
| commit | a672af9139a843eb7a48fd7846bb6df8f81b5f86 (patch) | |
| tree | 221c06a1e6895c4b7888aa12275879a3316b824c /tools/perf/builtin-script.c | |
| parent | tools headers: Remove now unused copies of uapi/{fcntl,openat2}.h and asm/fcn... (diff) | |
| download | kernel-a672af9139a843eb7a48fd7846bb6df8f81b5f86.tar.gz kernel-a672af9139a843eb7a48fd7846bb6df8f81b5f86.zip | |
tools headers: Remove almost unused copy of uapi/stat.h, add few conditional defines
These were used to build perf to provide defines not available in older
distros, but this was back in 2017, nowadays most the distros that are
supported and I have build containers for work using just the system
headers, so ditch them.
For the few that don't have STATX_MNT_ID{_UNIQUE}, or STATX_MNT_DIOALIGN
add them conditionally.
Some of these older distros may not have things that are used in 'perf
trace', but then they also don't have libtraceevent packages, so don't
build 'perf trace'.
Cc: Adrian Hunter <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Link: https://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions
