kallsyms.h (3eb66e91a25497065c5322b1268cbc3953642227) | kallsyms.h (155681fcd7f82882a730240c2dde7eee76a46314) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef __TOOLS_KALLSYMS_H_ 3#define __TOOLS_KALLSYMS_H_ 1 4 5#include <elf.h> 6#include <linux/ctype.h> 7#include <linux/types.h> 8 --- 4 unchanged lines hidden (view full) --- 13static inline u8 kallsyms2elf_binding(char type) 14{ 15 if (type == 'W') 16 return STB_WEAK; 17 18 return isupper(type) ? STB_GLOBAL : STB_LOCAL; 19} 20 | 1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef __TOOLS_KALLSYMS_H_ 3#define __TOOLS_KALLSYMS_H_ 1 4 5#include <elf.h> 6#include <linux/ctype.h> 7#include <linux/types.h> 8 --- 4 unchanged lines hidden (view full) --- 13static inline u8 kallsyms2elf_binding(char type) 14{ 15 if (type == 'W') 16 return STB_WEAK; 17 18 return isupper(type) ? STB_GLOBAL : STB_LOCAL; 19} 20 |
21int hex2u64(const char *ptr, u64 *long_val); 22 |
|
21u8 kallsyms2elf_type(char type); 22 23bool kallsyms__is_function(char symbol_type); 24 25int kallsyms__parse(const char *filename, void *arg, 26 int (*process_symbol)(void *arg, const char *name, 27 char type, u64 start)); 28 29#endif /* __TOOLS_KALLSYMS_H_ */ | 23u8 kallsyms2elf_type(char type); 24 25bool kallsyms__is_function(char symbol_type); 26 27int kallsyms__parse(const char *filename, void *arg, 28 int (*process_symbol)(void *arg, const char *name, 29 char type, u64 start)); 30 31#endif /* __TOOLS_KALLSYMS_H_ */ |