PERF_SAMPLE_TIME
if (event->attr.sample_type & PERF_SAMPLE_TIME)
flags &= ~PERF_SAMPLE_TIME;
x86_pmu.large_pebs_flags |= PERF_SAMPLE_TIME;
if (!(sample_type & ~(PERF_SAMPLE_IP|PERF_SAMPLE_TIME)) &&
data->sample_flags |= PERF_SAMPLE_TIME;
x86_pmu.large_pebs_flags |= PERF_SAMPLE_TIME;
PERF_SAMPLE_TIME;
PERF_SAMPLE_TIME |
if (sample_type & PERF_SAMPLE_TIME)
#define PERF_SAMPLE_ID_ALL (PERF_SAMPLE_TID | PERF_SAMPLE_TIME | \
if (sample_type & PERF_SAMPLE_TIME)
if (sample_type & PERF_SAMPLE_TIME)
if (sample_type & PERF_SAMPLE_TIME)
.sample_type = PERF_SAMPLE_RAW | PERF_SAMPLE_TIME,
bench_sample_type |= PERF_SAMPLE_TID | PERF_SAMPLE_TIME;
evsel__check_stype(evsel, PERF_SAMPLE_TIME, "TIME", PERF_OUTPUT_TIME))
if (evsel->core.attr.sample_type & PERF_SAMPLE_TIME) {
(evsel->core.attr.sample_type & PERF_SAMPLE_TIME))
PERF_SAMPLE_IDENTIFIER | PERF_SAMPLE_TIME | \
#define PERF_TP_SAMPLE_TYPE (PERF_SAMPLE_RAW | PERF_SAMPLE_TIME | \
TEST_ASSERT_EVSEL("wrong time", !(PERF_SAMPLE_TIME & evsel->core.attr.sample_type), evsel);
TEST_ASSERT_EVSEL("wrong time", !(PERF_SAMPLE_TIME & evsel->core.attr.sample_type), evsel);
if (type & PERF_SAMPLE_TIME)
if ((evsel->core.attr.sample_type & PERF_SAMPLE_TIME))
attr.sample_type &= ~(u64)PERF_SAMPLE_TIME;
attr.sample_type |= PERF_SAMPLE_TIME;
if (sample_type & PERF_SAMPLE_TIME)
attr.sample_type &= ~(u64)PERF_SAMPLE_TIME;
attr.sample_type |= PERF_SAMPLE_TIME;
PERF_SAMPLE_TIME | PERF_SAMPLE_ADDR | \
if (sample_type & PERF_SAMPLE_TIME)
if (type & PERF_SAMPLE_TIME) {
if (type & PERF_SAMPLE_TIME) {
if (!(type & PERF_SAMPLE_TIME))
if (type & PERF_SAMPLE_TIME)
if (sample_type & PERF_SAMPLE_TIME)
evsel->core.attr.sample_type = (PERF_SAMPLE_RAW | PERF_SAMPLE_TIME |
.sample_type = (PERF_SAMPLE_RAW | PERF_SAMPLE_TIME |
attr.sample_type &= ~(u64)PERF_SAMPLE_TIME;
if (!(evsel->core.attr.sample_type & PERF_SAMPLE_TIME))
if (sample_type & PERF_SAMPLE_TIME) {
attr.sample_type &= ~(u64)PERF_SAMPLE_TIME;
attr.sample_type |= PERF_SAMPLE_TIME;
if (jd->sample_type & PERF_SAMPLE_TIME)
if (jd->sample_type & PERF_SAMPLE_TIME)
PERF_SAMPLE_TID | PERF_SAMPLE_TIME | \
if (sample_type & PERF_SAMPLE_TIME)
if (type & PERF_SAMPLE_TIME)
if (type & PERF_SAMPLE_TIME) {
if (type & PERF_SAMPLE_TIME) {