Home
last modified time | relevance | path

Searched full:hits (Results 1 – 25 of 342) sorted by relevance

12345678910>>...14

/kernel/linux/linux-5.10/kernel/
Dprofile.c36 u32 pc, hits; member
219 * profile hits. read_profile() IPI's all cpus to request them
224 * profile hits required for the accuracy of reported profile hits
228 * and hold the number of pending hits to that profile buffer slot on
229 * a cpu in an entry. When the hashtable overflows, all pending hits
231 * atomic_add() and the hashtable emptied. As numerous pending hits
236 * positions to which hits are accounted during short intervals (e.g.
264 struct profile_hit *hits = per_cpu(cpu_profile_hits, cpu)[j]; in profile_flip_buffers() local
266 if (!hits[i].hits) { in profile_flip_buffers()
267 if (hits[i].pc) in profile_flip_buffers()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/benchs/
Dbench_count.c8 struct counter hits; member
16 atomic_inc(&ctx->hits.value); in count_global_producer()
30 res->hits = atomic_swap(&ctx->hits.value, 0); in count_global_measure()
36 struct counter *hits; member
43 ctx->hits = calloc(env.consumer_cnt, sizeof(*ctx->hits)); in count_local_setup()
44 if (!ctx->hits) in count_local_setup()
54 atomic_inc(&ctx->hits[idx].value); in count_local_producer()
70 res->hits += atomic_swap(&ctx->hits[i].value, 0); in count_local_measure()
Dbench_rename.c10 struct counter hits; member
37 atomic_inc(&ctx.hits.value); in producer()
43 res->hits = atomic_swap(&ctx.hits.value, 0); in measure()
Drun_bench_ringbufs.sh7 function hits() function
9 echo "$*" | sed -E "s/.*hits\s+([0-9]+\.[0-9]+ ± [0-9]+\.[0-9]+M\/s).*/\1/"
30 printf "%-20s %s (drops %s)\n" "$bench" "$(hits $summary)" "$(drops $summary)"
Dbench_trigger.c32 res->hits = atomic_swap(&base_hits.value, 0); in trigger_base_measure()
44 res->hits = atomic_swap(&ctx.skel->bss->hits, 0); in trigger_measure()
/kernel/linux/linux-5.10/drivers/cpuidle/governors/
Dteo.c70 * @hits: "On time" CPU wakeups "matching" this state.
90 unsigned int hits; member
154 * Decay the "early hits" metric for all of the states and find the in teo_update()
170 * Update the "hits" and "misses" data for the state matching the sleep in teo_update()
172 * so increase the "hits" metric for it then. Otherwise, this is a in teo_update()
174 * also increase the "early hits" metric for the state that actually in teo_update()
178 unsigned int hits = cpu_data->states[idx_timer].hits; in teo_update() local
181 hits -= hits >> DECAY_SHIFT; in teo_update()
189 hits += PULSE; in teo_update()
193 cpu_data->states[idx_timer].hits = hits; in teo_update()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dtrigger_bench.c11 long hits = 0; variable
16 __sync_add_and_fetch(&hits, 1); in bench_trigger_tp()
24 __sync_add_and_fetch(&hits, 1); in BPF_PROG()
31 __sync_add_and_fetch(&hits, 1); in bench_trigger_kprobe()
38 __sync_add_and_fetch(&hits, 1); in bench_trigger_fentry()
45 __sync_add_and_fetch(&hits, 1); in bench_trigger_fentry_sleep()
52 __sync_add_and_fetch(&hits, 1); in bench_trigger_fmodret()
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/arm64/hisilicon/hip08/
Duncore-l3c.json19 "BriefDescription": "Total read hits",
20 "PublicDescription": "Total read hits",
26 "BriefDescription": "Total write hits",
27 "PublicDescription": "Total write hits",
54 "BriefDescription": "Count of the number of read lines that hits in spipe of this L3C",
55 "PublicDescription": "Count of the number of read lines that hits in spipe of this L3C",
61 "BriefDescription": "Count of the number of write lines that hits in spipe of this L3C",
62 "PublicDescription": "Count of the number of write lines that hits in spipe of this L3C",
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/x86/haswell/
Duncore.json43 "BriefDescription": "An external snoop hits a non-modified line in some processor core.",
44 "PublicDescription": "An external snoop hits a non-modified line in some processor core.",
55 …e snoop initiated by this Cbox due to processor core memory request which hits a non-modified line…
56 …e snoop initiated by this Cbox due to processor core memory request which hits a non-modified line…
67 …"BriefDescription": "A cross-core snoop resulted from L3 Eviction which hits a non-modified line i…
68 …"PublicDescription": "A cross-core snoop resulted from L3 Eviction which hits a non-modified line …
79 "BriefDescription": "An external snoop hits a modified line in some processor core.",
80 "PublicDescription": "An external snoop hits a modified line in some processor core.",
91 …e snoop initiated by this Cbox due to processor core memory request which hits a modified line in …
92 …e snoop initiated by this Cbox due to processor core memory request which hits a modified line in …
[all …]
Dcache.json93 "BriefDescription": "L2 cache hits when fetching instructions, code reads.",
514 "BriefDescription": "Retired load uops with L1 cache hits as data sources.",
526 "BriefDescription": "Retired load uops with L2 cache hits as data sources.",
532 …on": "This event counts retired load uops in which data sources were data hits in the L3 cache wit…
613 …"BriefDescription": "Retired load uops which data sources were L3 and cross-core snoop hits in on-…
638 …"BriefDescription": "Retired load uops which data sources were hits in L3 without snoops required.…
817 …"PublicDescription": "hit in the L3 and the snoop to one of the sibling cores hits the line in M s…
825 …"BriefDescription": "hit in the L3 and the snoop to one of the sibling cores hits the line in M st…
856 …d & prefetch RFOs hit in the L3 and the snoop to one of the sibling cores hits the line in M state…
864 …d & prefetch RFOs hit in the L3 and the snoop to one of the sibling cores hits the line in M state…
[all …]
Dvirtual-memory.json82 "PublicDescription": "Number of cache load STLB hits. No page walk.",
315 "BriefDescription": "Number of DTLB page walker hits in the L1+FB",
325 "BriefDescription": "Number of DTLB page walker hits in the L2",
336 "BriefDescription": "Number of DTLB page walker hits in the L3 + XSNP",
347 "BriefDescription": "Number of DTLB page walker hits in Memory",
357 "BriefDescription": "Number of ITLB page walker hits in the L1+FB",
367 "BriefDescription": "Number of ITLB page walker hits in the L2",
378 "BriefDescription": "Number of ITLB page walker hits in the L3 + XSNP",
389 "BriefDescription": "Number of ITLB page walker hits in Memory",
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dcore_acl_flex_keys.c139 } hits[0]; member
157 __set_bit(element, picker->hits[i].element); in mlxsw_afk_picker_count_hits()
158 picker->hits[i].total++; in mlxsw_afk_picker_count_hits()
172 memcpy(&hits_element, &picker->hits[block_index].element, in mlxsw_afk_picker_subtract_hits()
177 if (__test_and_clear_bit(j, picker->hits[i].element)) in mlxsw_afk_picker_subtract_hits()
178 picker->hits[i].total--; in mlxsw_afk_picker_subtract_hits()
191 if (picker->hits[i].total > most_hits) { in mlxsw_afk_picker_most_hits_get()
192 most_hits = picker->hits[i].total; in mlxsw_afk_picker_most_hits_get()
209 for_each_set_bit(element, picker->hits[block_index].element, in mlxsw_afk_picker_key_info_add()
230 alloc_size = sizeof(picker->hits[0]) * mlxsw_afk->blocks_count; in mlxsw_afk_picker()
[all …]
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/powerpc/power8/
Dmetrics.json492 …"BriefDescription": "Percentage of L2 load hits per instruction where the L2 experienced a Load-Hi…
504 …"BriefDescription": "Percentage of L2 load hits per instruction where the L2 did not experience a …
510 …"BriefDescription": "Percentage of L2 load hits per instruction where the L2 experienced some conf…
534 …"BriefDescription": "Percentage of L3 load hits per instruction where the load collided with a pen…
546 …"BriefDescription": "Percentage of L3 load hits per instruction where the L3 did not experience a …
684 …"BriefDescription": "Percentage of L3 load hits per instruction where the line was brought into th…
1926 …"BriefDescription": "Fraction of hits on any Centaur (local, remote, or distant) on either L4 or D…
1946 … "BriefDescription": "Fraction of hits on a distant chip's Centaur (L4 or DRAM) per L1 load ref",
1971 …"BriefDescription": "Fraction of hits of a line in the M (exclusive) state on the L2 or L3 of a co…
1976 …"BriefDescription": "Fraction of hits of a line in the S state on the L2 or L3 of a core on a dist…
[all …]
/kernel/linux/linux-5.10/mm/
Dswap_state.c52 #define SWAP_RA_VAL(addr, win, hits) \ argument
55 ((hits) & SWAP_RA_HITS_MASK))
57 /* Initial readahead hits is 4 to start up with a small window */
397 int win, hits; in lookup_swap_cache() local
401 hits = SWAP_RA_HITS(ra_val); in lookup_swap_cache()
403 hits = min_t(int, hits + 1, SWAP_RA_HITS_MAX); in lookup_swap_cache()
405 SWAP_RA_VAL(addr, win, hits)); in lookup_swap_cache()
572 int hits, in __swapin_nr_pages() argument
583 pages = hits + 2; in __swapin_nr_pages()
586 * We can have no readahead hits to judge by: but must not get in __swapin_nr_pages()
[all …]
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/x86/amdzen1/
Drecommended.json65 "BriefDescription": "All L2 Cache Hits",
72 "BriefDescription": "L2 Cache Hits from L1 Instruction Cache Misses",
78 "BriefDescription": "L2 Cache Hits from L1 Data Cache Misses",
84 "BriefDescription": "L2 Cache Hits from L2 HWPF",
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/x86/amdzen2/
Drecommended.json65 "BriefDescription": "All L2 Cache Hits",
72 "BriefDescription": "L2 Cache Hits from L1 Instruction Cache Misses",
78 "BriefDescription": "L2 Cache Hits from L1 Data Cache Misses",
84 "BriefDescription": "L2 Cache Hits from L2 HWPF",
/kernel/linux/linux-5.10/tools/perf/Documentation/
Dperf-annotate.txt129 global-period, local-period, global-hits, local-hits
133 The period/hits keywords set the base the percentage is computed
134 on - the samples period or the number of samples (hits).
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_debugfs.c62 u32 hits = mvpp2_cls_flow_hits(entry->priv, entry->id); in mvpp2_dbgfs_flow_flt_hits_show() local
64 seq_printf(s, "%u\n", hits); in mvpp2_dbgfs_flow_flt_hits_show()
75 u32 hits = mvpp2_cls_lookup_hits(entry->priv, entry->flow); in mvpp2_dbgfs_flow_dec_hits_show() local
77 seq_printf(s, "%u\n", hits); in mvpp2_dbgfs_flow_dec_hits_show()
194 u32 hits; in mvpp2_dbgfs_flow_c2_hits_show() local
196 hits = mvpp2_cls_c2_hit_count(entry->priv, entry->id); in mvpp2_dbgfs_flow_c2_hits_show()
198 seq_printf(s, "%u\n", hits); in mvpp2_dbgfs_flow_c2_hits_show()
558 debugfs_create_file("hits", 0444, prs_entry_dir, entry, in mvpp2_dbgfs_prs_entry_init()
604 debugfs_create_file("hits", 0444, c2_entry_dir, entry, in mvpp2_dbgfs_c2_entry_init()
637 debugfs_create_file("hits", 0444, flow_tbl_entry_dir, entry, in mvpp2_dbgfs_flow_tbl_entry_init()
/kernel/linux/linux-5.10/fs/
Dfs_struct.c69 int hits = 0; in chroot_fs_refs() local
72 hits += replace_path(&fs->root, old_root, new_root); in chroot_fs_refs()
73 hits += replace_path(&fs->pwd, old_root, new_root); in chroot_fs_refs()
75 while (hits--) { in chroot_fs_refs()
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/x86/haswellx/
Dcache.json89 "BriefDescription": "L2 cache hits when fetching instructions, code reads.",
506 "BriefDescription": "Retired load uops with L1 cache hits as data sources.",
518 "BriefDescription": "Retired load uops with L2 cache hits as data sources.",
530 …"BriefDescription": "Retired load uops which data sources were data hits in L3 without snoops requ…
536 "PublicDescription": "Retired load uops with L3 cache hits as data sources.",
606 …"BriefDescription": "Retired load uops which data sources were L3 and cross-core snoop hits in on-…
630 …"BriefDescription": "Retired load uops which data sources were hits in L3 without snoops required.…
854 …demand data reads hit in the L3 and the snoop to one of the sibling cores hits the line in M state…
859 …demand data reads hit in the L3 and the snoop to one of the sibling cores hits the line in M state…
880 …ata writes (RFOs) hit in the L3 and the snoop to one of the sibling cores hits the line in M state…
[all …]
Dvirtual-memory.json87 "PublicDescription": "Number of cache load STLB hits. No page walk.",
311 "BriefDescription": "Number of DTLB page walker hits in the L1+FB",
321 "BriefDescription": "Number of DTLB page walker hits in the L2",
331 "BriefDescription": "Number of DTLB page walker hits in the L3 + XSNP",
342 "BriefDescription": "Number of DTLB page walker hits in Memory",
353 "BriefDescription": "Number of ITLB page walker hits in the L1+FB",
363 "BriefDescription": "Number of ITLB page walker hits in the L2",
373 "BriefDescription": "Number of ITLB page walker hits in the L3 + XSNP",
384 "BriefDescription": "Number of ITLB page walker hits in Memory",
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/x86/skylakex/
Dcache.json72 "BriefDescription": "Retired load instructions with L3 cache hits as data sources",
104 …tch requests that hit in the L3 and the snoop to one of the sibling cores hits the line in M state…
117 …d data reads that hit in the L3 and the snoop to one of the sibling cores hits the line in M state…
199 …h data reads that hit in the L3 and the snoop to one of the sibling cores hits the line in M state…
294 …h data reads that hit in the L3 and the snoop to one of the sibling cores hits the line in M state…
381 … to L2) RFOs that hit in the L3 and the snoop to one of the sibling cores hits the line in M state…
407 …Retired load instructions which data sources were L3 and cross-core snoop hits in on-pkg core cach…
414 …Retired load instructions which data sources were L3 and cross-core snoop hits in on-pkg core cach…
468 …tch requests that hit in the L3 and the snoop to one of the sibling cores hits the line in M state…
491 …h data reads that hit in the L3 and the snoop to one of the sibling cores hits the line in M state…
[all …]
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/x86/icelake/
Dcache.json81 "PublicDescription": "Counts L2 cache hits when fetching instructions, code reads.",
88 "BriefDescription": "L2 cache hits when fetching instructions, code reads."
397 "BriefDescription": "Retired load instructions with L1 cache hits as data sources",
403 "PublicDescription": "Counts retired load instructions with L2 cache hits as data sources.",
410 "BriefDescription": "Retired load instructions with L2 cache hits as data sources",
423 "BriefDescription": "Retired load instructions with L3 cache hits as data sources",
494 …retired load instructions whose data sources were L3 and cross-core snoop hits in on-pkg core cach…
501 …Retired load instructions whose data sources were L3 and cross-core snoop hits in on-pkg core cach…
520 …"PublicDescription": "Counts retired load instructions whose data sources were hits in L3 without …
527 …"BriefDescription": "Retired load instructions whose data sources were hits in L3 without snoops r…
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/x86/broadwellx/
Dcache.json80 "BriefDescription": "L2 cache hits when fetching instructions, code reads.",
487 "BriefDescription": "Retired load uops with L1 cache hits as data sources.",
492 …"PublicDescription": "This event counts retired load uops which data sources were hits in the near…
499 "BriefDescription": "Retired load uops with L2 cache hits as data sources.",
505 …"PublicDescription": "This event counts retired load uops which data sources were hits in the mid-…
512 …"BriefDescription": "Retired load uops which data sources were data hits in L3 without snoops requ…
518 …"PublicDescription": "This event counts retired load uops which data sources were data hits in the…
586 …"BriefDescription": "Retired load uops which data sources were L3 and cross-core snoop hits in on-…
612 …"BriefDescription": "Retired load uops which data sources were hits in L3 without snoops required.…
618 …"PublicDescription": "This event counts retired load uops which data sources were hits in the last…
[all …]
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/resctrl/
Dpseudo_lock_event.h25 TP_printk("hits=%llu miss=%llu",
35 TP_printk("hits=%llu miss=%llu",

12345678910>>...14