Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf unwind arm64: Remove needless event.h & thread.h includes

To reduce compile time and header dependency chains just add forward
declarations for pointer types and include linux/types.h for u64.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

+4 -2
+4 -2
tools/perf/util/arm64-frame-pointer-unwind-support.h
··· 2 2 #ifndef __PERF_ARM_FRAME_POINTER_UNWIND_SUPPORT_H 3 3 #define __PERF_ARM_FRAME_POINTER_UNWIND_SUPPORT_H 4 4 5 - #include "event.h" 6 - #include "thread.h" 5 + #include <linux/types.h> 6 + 7 + struct perf_sample; 8 + struct thread; 7 9 8 10 u64 get_leaf_frame_caller_aarch64(struct perf_sample *sample, struct thread *thread, int user_idx); 9 11