Home
last modified time | relevance | path

Searched refs:branch_sample_type (Results 1 – 4 of 4) sorted by relevance

/aosp12/system/extras/simpleperf/
H A Devent_selection_set.cpp49 attr.branch_sample_type = PERF_SAMPLE_BRANCH_ANY; in IsBranchSamplingSupported()
413 bool EventSelectionSet::SetBranchSampling(uint64_t branch_sample_type) { in SetBranchSampling() argument
414 if (branch_sample_type != 0 && in SetBranchSampling()
415 (branch_sample_type & (PERF_SAMPLE_BRANCH_ANY | PERF_SAMPLE_BRANCH_ANY_CALL | in SetBranchSampling()
417 LOG(ERROR) << "Invalid branch_sample_type: 0x" << std::hex << branch_sample_type; in SetBranchSampling()
420 if (branch_sample_type != 0 && !IsBranchSamplingSupported()) { in SetBranchSampling()
427 if (branch_sample_type != 0) { in SetBranchSampling()
432 attr.branch_sample_type = branch_sample_type; in SetBranchSampling()
H A Devent_selection_set.h123 bool SetBranchSampling(uint64_t branch_sample_type);
H A Devent_attr.cpp139 PrintIndented(indent + 1, "branch_sample_type 0x%" PRIx64 "\n", attr.branch_sample_type); in DumpPerfEventAttr()
/aosp12/bionic/libc/kernel/uapi/linux/
H A Dperf_event.h228 __u64 branch_sample_type; member