perf trace augmented_raw_syscalls: Add more checks to pass the verifier
authorHoward Chu <howardchu95@gmail.com>
Fri, 11 Oct 2024 02:14:02 +0000 (19:14 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 23 Oct 2024 14:34:56 +0000 (11:34 -0300)
commit395d38419f1853decab84acc16176b3fa5c96690
tree489be724fdbb51f171e630b71a2b91ffc72f064c
parentecabac70ff919580324b407818ee3e6c0004dcf8
perf trace augmented_raw_syscalls: Add more checks to pass the verifier

Add some more checks to pass the verifier in more kernels.

Signed-off-by: Howard Chu <howardchu95@gmail.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alan Maguire <alan.maguire@oracle.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ian Rogers <irogers@google.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/20241011021403.4089793-3-howardchu95@gmail.com
[ Reduced the patch removing things that can be done later ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/bpf_skel/augmented_raw_syscalls.bpf.c