| .. | .. |
|---|
| 16 | 16 | bool show_sym, bool show_addr, bool unwind_inlines, |
|---|
| 17 | 17 | u64 ip); |
|---|
| 18 | 18 | void free_srcline(char *srcline); |
|---|
| 19 | +char *get_srcline_split(struct dso *dso, u64 addr, unsigned *line); |
|---|
| 19 | 20 | |
|---|
| 20 | 21 | /* insert the srcline into the DSO, which will take ownership */ |
|---|
| 21 | | -void srcline__tree_insert(struct rb_root *tree, u64 addr, char *srcline); |
|---|
| 22 | +void srcline__tree_insert(struct rb_root_cached *tree, u64 addr, char *srcline); |
|---|
| 22 | 23 | /* find previously inserted srcline */ |
|---|
| 23 | | -char *srcline__tree_find(struct rb_root *tree, u64 addr); |
|---|
| 24 | +char *srcline__tree_find(struct rb_root_cached *tree, u64 addr); |
|---|
| 24 | 25 | /* delete all srclines within the tree */ |
|---|
| 25 | | -void srcline__tree_delete(struct rb_root *tree); |
|---|
| 26 | +void srcline__tree_delete(struct rb_root_cached *tree); |
|---|
| 26 | 27 | |
|---|
| 27 | 28 | #define SRCLINE_UNKNOWN ((char *) "??:0") |
|---|
| 28 | 29 | |
|---|
| .. | .. |
|---|
| 45 | 46 | void inline_node__delete(struct inline_node *node); |
|---|
| 46 | 47 | |
|---|
| 47 | 48 | /* insert the inline node list into the DSO, which will take ownership */ |
|---|
| 48 | | -void inlines__tree_insert(struct rb_root *tree, struct inline_node *inlines); |
|---|
| 49 | +void inlines__tree_insert(struct rb_root_cached *tree, |
|---|
| 50 | + struct inline_node *inlines); |
|---|
| 49 | 51 | /* find previously inserted inline node list */ |
|---|
| 50 | | -struct inline_node *inlines__tree_find(struct rb_root *tree, u64 addr); |
|---|
| 52 | +struct inline_node *inlines__tree_find(struct rb_root_cached *tree, u64 addr); |
|---|
| 51 | 53 | /* delete all nodes within the tree of inline_node s */ |
|---|
| 52 | | -void inlines__tree_delete(struct rb_root *tree); |
|---|
| 54 | +void inlines__tree_delete(struct rb_root_cached *tree); |
|---|
| 53 | 55 | |
|---|
| 54 | 56 | #endif /* PERF_SRCLINE_H */ |
|---|