2007-09-28 18:29:52 +00:00
|
|
|
#ifndef __KALLSYMS_H
|
|
|
|
#define __KALLSYMS_H
|
|
|
|
|
|
|
|
#define KSYM_NAME_LEN 128
|
2011-03-08 11:00:10 +00:00
|
|
|
#define KSYM_SYMBOL_LEN (sizeof("%s+%#lx/%#lx [%s]") + (KSYM_NAME_LEN - 1) + \
|
|
|
|
2*(BITS_PER_LONG*3/10) + (MODULE_NAME_LEN - 1) + 1)
|
2007-09-28 18:29:52 +00:00
|
|
|
unsigned long kallsyms_lookup_name(const char *name);
|
|
|
|
|
2011-03-08 11:00:10 +00:00
|
|
|
/* Look up a kernel symbol and return it in a text buffer. */
|
|
|
|
int sprint_symbol(char *buffer, unsigned long address);
|
|
|
|
|
2007-09-28 18:29:52 +00:00
|
|
|
#endif /* __KALLSYMS_H */
|