5 #include <linux/compiler.h> 6 #include <linux/types.h> 30 #ifdef HAVE_DWARF_UNWIND_SUPPORT 35 #ifdef HAVE_LIBUNWIND_SUPPORT 36 #ifndef LIBUNWIND__ARCH_REG_ID 37 #define LIBUNWIND__ARCH_REG_ID(regnum) libunwind__arch_reg_id(regnum) 40 #ifndef LIBUNWIND__ARCH_REG_SP 41 #define LIBUNWIND__ARCH_REG_SP PERF_REG_SP 44 #ifndef LIBUNWIND__ARCH_REG_IP 45 #define LIBUNWIND__ARCH_REG_IP PERF_REG_IP 55 struct map *
map __maybe_unused,
56 bool *initialized __maybe_unused)
67 void *arg __maybe_unused,
70 int max_stack __maybe_unused)
76 struct map *
map __maybe_unused,
77 bool *initialized __maybe_unused)
static void unwind__finish_access(struct thread *thread __maybe_unused)
static int unwind__get_entries(unwind_entry_cb_t cb __maybe_unused, void *arg __maybe_unused, struct thread *thread __maybe_unused, struct perf_sample *data __maybe_unused, int max_stack __maybe_unused)
#define LIBUNWIND__ARCH_REG_ID(regnum)
int(* unwind_entry_cb_t)(struct unwind_entry *entry, void *arg)
static void unwind__flush_access(struct thread *thread __maybe_unused)
static int get_entries(struct unwind_info *ui, unwind_entry_cb_t cb, void *arg, int max_stack)
static int entry(u64 ip, struct unwind_info *ui)
static int unwind__prepare_access(struct thread *thread __maybe_unused, struct map *map __maybe_unused, bool *initialized __maybe_unused)