Home
last modified time | relevance | path

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

/openbmc/linux/tools/perf/util/
H A Dthread.h26 struct lbr_stitch { struct
72 struct lbr_stitch *lbr_stitch; in DECLARE_RC_STRUCT() local
321 static inline struct lbr_stitch *thread__lbr_stitch(struct thread *thread) in thread__lbr_stitch()
323 return RC_CHK_ACCESS(thread)->lbr_stitch; in thread__lbr_stitch()
326 static inline void thread__set_lbr_stitch(struct thread *thread, struct lbr_stitch *lbrs) in thread__set_lbr_stitch()
328 RC_CHK_ACCESS(thread)->lbr_stitch = lbrs; in thread__set_lbr_stitch()
H A Dthread.c474 struct lbr_stitch *lbr_stitch = thread__lbr_stitch(thread); in thread__free_stitch_list() local
477 if (!lbr_stitch) in thread__free_stitch_list()
480 list_for_each_entry_safe(pos, tmp, &lbr_stitch->lists, node) { in thread__free_stitch_list()
485 list_for_each_entry_safe(pos, tmp, &lbr_stitch->free_lists, node) { in thread__free_stitch_list()
490 zfree(&lbr_stitch->prev_lbr_cursor); in thread__free_stitch_list()
H A Dmachine.c2525 struct lbr_stitch *lbr_stitch = thread__lbr_stitch(thread); in save_lbr_cursor_node() local
2527 if (!lbr_stitch) in save_lbr_cursor_node()
2531 lbr_stitch->prev_lbr_cursor[idx].valid = false; in save_lbr_cursor_node()
2539 memcpy(&lbr_stitch->prev_lbr_cursor[idx], cursor->curr, in save_lbr_cursor_node()
2542 lbr_stitch->prev_lbr_cursor[idx].valid = true; in save_lbr_cursor_node()
2650 struct lbr_stitch *lbr_stitch = thread__lbr_stitch(thread); in lbr_callchain_add_stitched_lbr_ip() local
2655 list_for_each_entry(stitch_node, &lbr_stitch->lists, node) { in lbr_callchain_add_stitched_lbr_ip()
2674 struct lbr_stitch *lbr_stitch = thread__lbr_stitch(thread); in get_stitch_node() local
2677 if (!list_empty(&lbr_stitch->free_lists)) { in get_stitch_node()
2678 stitch_node = list_first_entry(&lbr_stitch->free_lists, in get_stitch_node()
[all …]