Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_kprobe.c Create Date:2022-07-28 12:38:55
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:trace_kprobe_nhit

Proto:static inline __attribute__((__always_inline__)) unsigned long trace_kprobe_nhit(struct trace_kprobe *tk)

Type:unsigned long

Parameter:

TypeParameterName
struct trace_kprobe *tk
175  nhit = 0
178  for_each_possible_cpu(cpu)
179  nhit += per_cpu_ptr(nhit, cpu)
181  Return nhit
Caller
NameDescribe
probes_profile_seq_showProbes profiling interfaces