Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v4.12-rc3 34 lines 789 B view raw
1#ifndef PERF_SRCLINE_H 2#define PERF_SRCLINE_H 3 4#include <linux/list.h> 5#include <linux/types.h> 6 7struct dso; 8struct symbol; 9 10extern bool srcline_full_filename; 11char *get_srcline(struct dso *dso, u64 addr, struct symbol *sym, 12 bool show_sym, bool show_addr); 13char *__get_srcline(struct dso *dso, u64 addr, struct symbol *sym, 14 bool show_sym, bool show_addr, bool unwind_inlines); 15void free_srcline(char *srcline); 16 17#define SRCLINE_UNKNOWN ((char *) "??:0") 18 19struct inline_list { 20 char *filename; 21 char *funcname; 22 unsigned int line_nr; 23 struct list_head list; 24}; 25 26struct inline_node { 27 u64 addr; 28 struct list_head val; 29}; 30 31struct inline_node *dso__parse_addr_inlines(struct dso *dso, u64 addr); 32void inline_node__delete(struct inline_node *node); 33 34#endif /* PERF_SRCLINE_H */