Searched refs:lbr_stitch (Results 1 – 3 of 3) sorted by relevance
| /linux/tools/perf/util/ |
| H A D | thread.h | 24 struct lbr_stitch { struct 74 struct lbr_stitch *lbr_stitch; in DECLARE_RC_STRUCT() local 342 static inline struct lbr_stitch *thread__lbr_stitch(struct thread *thread) in thread__lbr_stitch() 344 return RC_CHK_ACCESS(thread)->lbr_stitch; in thread__lbr_stitch() 347 static inline void thread__set_lbr_stitch(struct thread *thread, struct lbr_stitch *lbrs) in thread__set_lbr_stitch() 349 RC_CHK_ACCESS(thread)->lbr_stitch = lbrs; in thread__set_lbr_stitch()
|
| H A D | thread.c | 600 struct lbr_stitch *lbr_stitch = thread__lbr_stitch(thread); in thread__free_stitch_list() local 603 if (!lbr_stitch) in thread__free_stitch_list() 606 list_for_each_entry_safe(pos, tmp, &lbr_stitch->lists, node) { in thread__free_stitch_list() 612 list_for_each_entry_safe(pos, tmp, &lbr_stitch->free_lists, node) { in thread__free_stitch_list() 617 for (unsigned int i = 0 ; i < lbr_stitch->prev_lbr_cursor_size; i++) in thread__free_stitch_list() 618 map_symbol__exit(&lbr_stitch->prev_lbr_cursor[i].ms); in thread__free_stitch_list() 620 zfree(&lbr_stitch->prev_lbr_cursor); in thread__free_stitch_list()
|
| H A D | machine.c | 2368 struct lbr_stitch *lbr_stitch = thread__lbr_stitch(thread); in save_lbr_cursor_node() local 2370 if (!lbr_stitch) in save_lbr_cursor_node() 2374 lbr_stitch->prev_lbr_cursor[idx].valid = false; in save_lbr_cursor_node() 2383 map_symbol__exit(&lbr_stitch->prev_lbr_cursor[idx].ms); in save_lbr_cursor_node() 2384 memcpy(&lbr_stitch->prev_lbr_cursor[idx], cursor->curr, in save_lbr_cursor_node() 2386 lbr_stitch->prev_lbr_cursor[idx].ms.thread = thread__get(cursor->curr->ms.thread); in save_lbr_cursor_node() 2387 lbr_stitch->prev_lbr_cursor[idx].ms.map = map__get(cursor->curr->ms.map); in save_lbr_cursor_node() 2389 lbr_stitch->prev_lbr_cursor[idx].valid = true; in save_lbr_cursor_node() 2510 struct lbr_stitch *lbr_stitch = thread__lbr_stitch(thread); in lbr_callchain_add_stitched_lbr_ip() local 2515 list_for_each_entry(stitch_node, &lbr_stitch->lists, node) { in lbr_callchain_add_stitched_lbr_ip() [all …]
|