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 66 struct lbr_stitch *lbr_stitch; in DECLARE_RC_STRUCT() local 315 static inline struct lbr_stitch *thread__lbr_stitch(struct thread *thread) in thread__lbr_stitch() 317 return RC_CHK_ACCESS(thread)->lbr_stitch; in thread__lbr_stitch() 320 static inline void thread__set_lbr_stitch(struct thread *thread, struct lbr_stitch *lbrs) in thread__set_lbr_stitch() 322 RC_CHK_ACCESS(thread)->lbr_stitch = lbrs; in thread__set_lbr_stitch()
|
H A D | thread.c | 472 struct lbr_stitch *lbr_stitch = thread__lbr_stitch(thread); in thread__free_stitch_list() local 475 if (!lbr_stitch) in thread__free_stitch_list() 478 list_for_each_entry_safe(pos, tmp, &lbr_stitch->lists, node) { in thread__free_stitch_list() 484 list_for_each_entry_safe(pos, tmp, &lbr_stitch->free_lists, node) { in thread__free_stitch_list() 489 for (unsigned int i = 0 ; i < lbr_stitch->prev_lbr_cursor_size; i++) in thread__free_stitch_list() 490 map_symbol__exit(&lbr_stitch->prev_lbr_cursor[i].ms); in thread__free_stitch_list() 492 zfree(&lbr_stitch->prev_lbr_cursor); in thread__free_stitch_list()
|
H A D | machine.c | 2272 struct lbr_stitch *lbr_stitch = thread__lbr_stitch(thread); in save_lbr_cursor_node() local 2274 if (!lbr_stitch) in save_lbr_cursor_node() 2278 lbr_stitch->prev_lbr_cursor[idx].valid = false; in save_lbr_cursor_node() 2287 map_symbol__exit(&lbr_stitch->prev_lbr_cursor[idx].ms); in save_lbr_cursor_node() 2288 memcpy(&lbr_stitch->prev_lbr_cursor[idx], cursor->curr, in save_lbr_cursor_node() 2290 lbr_stitch->prev_lbr_cursor[idx].ms.maps = maps__get(cursor->curr->ms.maps); in save_lbr_cursor_node() 2291 lbr_stitch->prev_lbr_cursor[idx].ms.map = map__get(cursor->curr->ms.map); in save_lbr_cursor_node() 2293 lbr_stitch->prev_lbr_cursor[idx].valid = true; in save_lbr_cursor_node() 2402 struct lbr_stitch *lbr_stitch = thread__lbr_stitch(thread); in lbr_callchain_add_stitched_lbr_ip() local 2407 list_for_each_entry(stitch_node, &lbr_stitch->lists, node) { in lbr_callchain_add_stitched_lbr_ip() [all …]
|