Home
last modified time | relevance | path

Searched refs:lbr_stitch (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/tools/perf/util/
Dthread.h26 struct lbr_stitch { struct
63 struct lbr_stitch *lbr_stitch; in DECLARE_RC_STRUCT() local
307 static inline struct lbr_stitch *thread__lbr_stitch(struct thread *thread) in thread__lbr_stitch()
309 return RC_CHK_ACCESS(thread)->lbr_stitch; in thread__lbr_stitch()
312 static inline void thread__set_lbr_stitch(struct thread *thread, struct lbr_stitch *lbrs) in thread__set_lbr_stitch()
314 RC_CHK_ACCESS(thread)->lbr_stitch = lbrs; in thread__set_lbr_stitch()
Dthread.c478 struct lbr_stitch *lbr_stitch = thread__lbr_stitch(thread); in thread__free_stitch_list() local
481 if (!lbr_stitch) in thread__free_stitch_list()
484 list_for_each_entry_safe(pos, tmp, &lbr_stitch->lists, node) { in thread__free_stitch_list()
489 list_for_each_entry_safe(pos, tmp, &lbr_stitch->free_lists, node) { in thread__free_stitch_list()
494 zfree(&lbr_stitch->prev_lbr_cursor); in thread__free_stitch_list()
Dmachine.c2521 struct lbr_stitch *lbr_stitch = thread__lbr_stitch(thread); in save_lbr_cursor_node() local
2523 if (!lbr_stitch) in save_lbr_cursor_node()
2527 lbr_stitch->prev_lbr_cursor[idx].valid = false; in save_lbr_cursor_node()
2535 memcpy(&lbr_stitch->prev_lbr_cursor[idx], cursor->curr, in save_lbr_cursor_node()
2538 lbr_stitch->prev_lbr_cursor[idx].valid = true; in save_lbr_cursor_node()
2644 struct lbr_stitch *lbr_stitch = thread__lbr_stitch(thread); in lbr_callchain_add_stitched_lbr_ip() local
2649 list_for_each_entry(stitch_node, &lbr_stitch->lists, node) { in lbr_callchain_add_stitched_lbr_ip()
2668 struct lbr_stitch *lbr_stitch = thread__lbr_stitch(thread); in get_stitch_node() local
2671 if (!list_empty(&lbr_stitch->free_lists)) { in get_stitch_node()
2672 stitch_node = list_first_entry(&lbr_stitch->free_lists, in get_stitch_node()
[all …]