1 #ifndef __TOOLS_KALLSYMS_H_
2 #define __TOOLS_KALLSYMS_H_ 1
5 #include <linux/ctype.h>
6 #include <linux/types.h>
9 #define KSYM_NAME_LEN 256
12 static inline u8
kallsyms2elf_type(char type
)
17 return isupper(type
) ? STB_GLOBAL
: STB_LOCAL
;
20 int kallsyms__parse(const char *filename
, void *arg
,
21 int (*process_symbol
)(void *arg
, const char *name
,
22 char type
, u64 start
));
24 #endif /* __TOOLS_KALLSYMS_H_ */