Home
last modified time | relevance | path

Searched refs:snapshot_refs (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/tools/perf/arch/x86/util/
Dintel-bts.c46 struct intel_bts_snapshot_ref *snapshot_refs; member
290 memcpy(refs, btsr->snapshot_refs, cnt * sz); in intel_bts_alloc_snapshot_refs()
292 btsr->snapshot_refs = refs; in intel_bts_alloc_snapshot_refs()
303 zfree(&btsr->snapshot_refs[i].ref_buf); in intel_bts_free_snapshot_refs()
304 zfree(&btsr->snapshot_refs); in intel_bts_free_snapshot_refs()
377 wrapped = btsr->snapshot_refs[idx].wrapped; in intel_bts_find_snapshot()
379 btsr->snapshot_refs[idx].wrapped = true; in intel_bts_find_snapshot()
Dintel-pt.c56 struct intel_pt_snapshot_ref *snapshot_refs; member
851 memcpy(refs, ptr->snapshot_refs, cnt * sz); in intel_pt_alloc_snapshot_refs()
853 ptr->snapshot_refs = refs; in intel_pt_alloc_snapshot_refs()
864 zfree(&ptr->snapshot_refs[i].ref_buf); in intel_pt_free_snapshot_refs()
865 zfree(&ptr->snapshot_refs); in intel_pt_free_snapshot_refs()
887 ptr->snapshot_refs[idx].ref_buf = ref_buf; in intel_pt_alloc_snapshot_ref()
888 ptr->snapshot_refs[idx].ref_offset = snapshot_buf_size - ref_buf_size; in intel_pt_alloc_snapshot_ref()
995 struct intel_pt_snapshot_ref *ref = &ptr->snapshot_refs[idx]; in intel_pt_wrapped()
1048 if (!ptr->snapshot_refs[idx].ref_buf) { in intel_pt_find_snapshot()
1055 wrapped = ptr->snapshot_refs[idx].wrapped; in intel_pt_find_snapshot()
[all …]