PERF_SAMPLE_CALLCHAIN
return sample_type & (PERF_SAMPLE_CALLCHAIN | PERF_SAMPLE_REGS_USER |
if (!(event->attr.sample_type & PERF_SAMPLE_CALLCHAIN))
if (WARN_ON_ONCE(data->sample_flags & PERF_SAMPLE_CALLCHAIN))
data->sample_flags |= PERF_SAMPLE_CALLCHAIN;
if (!(event->attr.sample_type & PERF_SAMPLE_CALLCHAIN))
if (!(event->attr.sample_type & PERF_SAMPLE_CALLCHAIN))
(!(event->attr.sample_type & PERF_SAMPLE_CALLCHAIN) ||
if (event->attr.sample_type & PERF_SAMPLE_CALLCHAIN) {
if (sample_type & PERF_SAMPLE_CALLCHAIN) {
if (filtered_sample_type & PERF_SAMPLE_CALLCHAIN)
else if (sample_type & PERF_SAMPLE_CALLCHAIN)
PERF_SAMPLE_STACK_USER | PERF_SAMPLE_REGS_USER | PERF_SAMPLE_CALLCHAIN;
sample_type |= PERF_SAMPLE_CALLCHAIN;
if (!is_pipe && !(sample_type & PERF_SAMPLE_CALLCHAIN)) {
if (!(sample_type & PERF_SAMPLE_CALLCHAIN)) {
(sample_type & PERF_SAMPLE_CALLCHAIN ||
if (type & PERF_SAMPLE_CALLCHAIN) {
if (type & PERF_SAMPLE_CALLCHAIN) {
if (type & PERF_SAMPLE_CALLCHAIN) {
if (type & PERF_SAMPLE_CALLCHAIN) {
return evsel->core.attr.sample_type & PERF_SAMPLE_CALLCHAIN ||
evsel->synth_sample_type & PERF_SAMPLE_CALLCHAIN;
if (!(evsel->core.attr.sample_type & PERF_SAMPLE_CALLCHAIN))
evsel->synth_sample_type |= PERF_SAMPLE_CALLCHAIN;
if (sample_type & PERF_SAMPLE_CALLCHAIN &&
attr.sample_type |= PERF_SAMPLE_CALLCHAIN;
if (type & PERF_SAMPLE_CALLCHAIN) {
if (type & PERF_SAMPLE_CALLCHAIN) {
attr.sample_type |= PERF_SAMPLE_CALLCHAIN;
PERF_SAMPLE_CALLCHAIN,
attr.sample_type = PERF_SAMPLE_RAW | PERF_SAMPLE_CALLCHAIN;