]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - tools/lib/symbol/kallsyms.h
perf tools: Remove old baggage that is util/include/linux/ctype.h
[linux.git] / tools / lib / symbol / kallsyms.h
index 72ab9870454baf15052fabb233ebcc04b27f94e3..2b238f181d97c3dc40b28800468177d558c999fa 100644 (file)
@@ -3,7 +3,6 @@
 #define __TOOLS_KALLSYMS_H_ 1
 
 #include <elf.h>
-#include <linux/ctype.h>
 #include <linux/types.h>
 
 #ifndef KSYM_NAME_LEN
@@ -18,6 +17,8 @@ static inline u8 kallsyms2elf_binding(char type)
        return isupper(type) ? STB_GLOBAL : STB_LOCAL;
 }
 
+int hex2u64(const char *ptr, u64 *long_val);
+
 u8 kallsyms2elf_type(char type);
 
 bool kallsyms__is_function(char symbol_type);