Lines Matching refs:cursor
1141 struct callchain_cursor *cursor = get_tls_callchain_cursor(); in iter_prepare_cumulative_entry() local
1143 if (cursor == NULL) in iter_prepare_cumulative_entry()
1146 callchain_cursor_commit(cursor); in iter_prepare_cumulative_entry()
1153 he_cache = malloc(sizeof(*he_cache) * (cursor->nr + 1)); in iter_prepare_cumulative_entry()
1247 struct callchain_cursor cursor, *tls_cursor = get_tls_callchain_cursor(); in iter_add_next_cumulative_entry() local
1253 callchain_cursor_snapshot(&cursor, tls_cursor); in iter_add_next_cumulative_entry()
1286 callchain_append(he->callchain, &cursor, sample->period); in iter_add_next_cumulative_entry()
1728 struct callchain_cursor *cursor = get_tls_callchain_cursor(); in hists__hierarchy_insert_entry() local
1730 if (cursor == NULL) in hists__hierarchy_insert_entry()
1733 callchain_cursor_reset(cursor); in hists__hierarchy_insert_entry()
1734 if (callchain_merge(cursor, in hists__hierarchy_insert_entry()
1776 struct callchain_cursor *cursor = get_tls_callchain_cursor(); in hists__collapse_insert_entry() local
1778 if (cursor != NULL) { in hists__collapse_insert_entry()
1779 callchain_cursor_reset(cursor); in hists__collapse_insert_entry()
1780 if (callchain_merge(cursor, iter->callchain, he->callchain) < 0) in hists__collapse_insert_entry()