Home
last modified time | relevance | path

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

/openbmc/linux/tools/perf/arch/x86/util/
H A Dintel-bts.c46 struct intel_bts_snapshot_ref *snapshot_refs; member
296 memcpy(refs, btsr->snapshot_refs, cnt * sz); in intel_bts_alloc_snapshot_refs()
298 btsr->snapshot_refs = refs; in intel_bts_alloc_snapshot_refs()
309 zfree(&btsr->snapshot_refs[i].ref_buf); in intel_bts_free_snapshot_refs()
310 zfree(&btsr->snapshot_refs); in intel_bts_free_snapshot_refs()
383 wrapped = btsr->snapshot_refs[idx].wrapped; in intel_bts_find_snapshot()
385 btsr->snapshot_refs[idx].wrapped = true; in intel_bts_find_snapshot()
H A Dintel-pt.c59 struct intel_pt_snapshot_ref *snapshot_refs; member
931 memcpy(refs, ptr->snapshot_refs, cnt * sz); in intel_pt_alloc_snapshot_refs()
933 ptr->snapshot_refs = refs; in intel_pt_alloc_snapshot_refs()
944 zfree(&ptr->snapshot_refs[i].ref_buf); in intel_pt_free_snapshot_refs()
945 zfree(&ptr->snapshot_refs); in intel_pt_free_snapshot_refs()
967 ptr->snapshot_refs[idx].ref_buf = ref_buf; in intel_pt_alloc_snapshot_ref()
968 ptr->snapshot_refs[idx].ref_offset = snapshot_buf_size - ref_buf_size; in intel_pt_alloc_snapshot_ref()
1075 struct intel_pt_snapshot_ref *ref = &ptr->snapshot_refs[idx]; in intel_pt_wrapped()
1128 if (!ptr->snapshot_refs[idx].ref_buf) { in intel_pt_find_snapshot()
1135 wrapped = ptr->snapshot_refs[idx].wrapped; in intel_pt_find_snapshot()
[all …]