Ian Rogers a5384c4267 perf cap: Add __NR_capget to arch/x86 unistd
As there are duplicated kernel headers in tools/include libc can pick
up the wrong definitions. This was causing the wrong system call for
capget in perf.

Reported-by: Adrian Hunter <adrian.hunter@intel.com>
Fixes: e25ebda78e230283 ("perf cap: Tidy up and improve capability testing")
Closes: https://lore.kernel.org/lkml/cc7d6bdf-1aeb-4179-9029-4baf50b59342@intel.com/
Signed-off-by: Ian Rogers <irogers@google.com>
Tested-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20241026055448.312247-1-irogers@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2024-10-28 13:04:52 -03:00
..
2024-08-12 18:05:14 -03:00
2024-08-12 18:05:14 -03:00
2022-06-28 12:05:25 -03:00
2024-09-10 17:32:47 -03:00
2024-05-10 10:52:46 -03:00
2023-03-14 08:29:46 -03:00
2024-07-03 14:59:15 -07:00
2022-10-04 08:55:21 -03:00
2021-04-29 10:30:58 -03:00
2024-03-21 10:41:28 -03:00
2024-03-21 10:41:28 -03:00
2021-08-11 09:35:44 -03:00
2024-08-19 14:52:13 -03:00
2024-08-19 14:52:13 -03:00
2024-08-19 14:52:13 -03:00
2024-08-19 14:52:13 -03:00
2024-08-12 18:07:10 -03:00
2024-08-12 18:07:10 -03:00
2024-08-28 18:07:21 -03:00
2023-01-23 10:00:47 -03:00
2024-07-31 16:58:18 -03:00
2024-08-30 09:24:27 -03:00
2024-08-30 09:24:27 -03:00
2024-08-12 18:05:14 -03:00
2024-08-12 18:05:14 -03:00
2024-08-12 18:05:14 -03:00
2024-08-19 14:51:46 -03:00
2024-08-19 14:51:46 -03:00
2024-02-12 12:35:41 -08:00
2024-09-11 11:27:42 -03:00
2024-08-01 18:55:55 -03:00
2024-09-11 11:27:42 -03:00
2024-09-11 11:27:42 -03:00
2024-09-11 11:29:20 -03:00
2024-09-11 11:29:20 -03:00
2023-04-06 21:40:28 -03:00
2023-09-12 17:47:00 -03:00
2024-09-11 11:29:20 -03:00
2024-09-11 11:27:42 -03:00
2023-11-09 13:47:50 -03:00
2020-10-14 13:34:26 -03:00
2024-08-12 18:05:14 -03:00
2023-04-10 19:20:53 -03:00
2024-09-27 15:38:52 -03:00