Home
last modified time | relevance | path

Searched refs:ctrset_size (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/arch/s390/kernel/
Dperf_cpum_cf_common.c165 size_t ctrset_size = 0; in cpum_cf_ctrset_size() local
170 ctrset_size = 6; in cpum_cf_ctrset_size()
174 ctrset_size = 6; in cpum_cf_ctrset_size()
176 ctrset_size = 2; in cpum_cf_ctrset_size()
180 ctrset_size = 16; in cpum_cf_ctrset_size()
182 ctrset_size = 20; in cpum_cf_ctrset_size()
186 ctrset_size = 32; in cpum_cf_ctrset_size()
188 ctrset_size = 48; in cpum_cf_ctrset_size()
190 ctrset_size = 128; in cpum_cf_ctrset_size()
192 ctrset_size = 160; in cpum_cf_ctrset_size()
[all …]
Dperf_cpum_cf.c134 size_t ctrset_size, need = 0; in cfdiag_getctrset() local
140 ctrset_size = cpum_cf_ctrset_size(ctrset, &cpuhw->info); in cfdiag_getctrset()
142 if (ctrset_size) { /* Save data */ in cfdiag_getctrset()
143 need = ctrset_size * sizeof(u64) + sizeof(*ctrdata); in cfdiag_getctrset()
145 rc = ctr_stcctm(ctrset, ctrset_size, in cfdiag_getctrset()
149 ctrdata->ctr = ctrset_size; in cfdiag_getctrset()
156 " need %zd rc %d\n", __func__, ctrset, ctrset_size, in cfdiag_getctrset()
1065 int ctrset_size, size_t room) in cfset_cpuset_read() argument
1070 need = sizeof(*p) + sizeof(u64) * ctrset_size; in cfset_cpuset_read()
1073 p->no_cnts = ctrset_size; in cfset_cpuset_read()
[all …]
/linux-6.1.9/tools/perf/util/
Ds390-sample-raw.c32 static size_t ctrset_size(struct cf_ctrset_entry *set) in ctrset_size() function
62 if (!ctrset_valid(&ce) || offset + ctrset_size(&ce) > len) { in s390_cpumcfdg_testctr()
77 offset += ctrset_size(&ce); in s390_cpumcfdg_testctr()
207 offset += ctrset_size(&ce); in s390_cpumcfdg_dump()