Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:stop_critical_timing

Proto:static inline __attribute__((__always_inline__)) void stop_critical_timing(unsigned long ip, unsigned long parent_ip, int pc)

Type:void

Parameter:

TypeParameterName
unsigned longip
unsigned longparent_ip
intpc
409  tr = irqsoff_trace
413  cpu = These macros fold the SMP functionality into a single CPU system()
415  If Value for the false possibility is greater at compile time(per_cpu(tracing_cpu, cpu)) Then per_cpu(tracing_cpu, cpu) = 0
417  Else Return
420  If Not tracer_enabled || Not racing_is_enabled - Show if global_trace has been disabled* Shows if the global trace has been enabled or not. It uses the* mirror flag "buffer_disabled" to be used in fast paths such as for* the irqsoff tracer Then Return
423  data = per_cpu_ptr(data, cpu)
425  If Value for the false possibility is greater at compile time(!data) || Not critical_start || atomic_read( & disabled) Then Return
429  atomic_inc( & disabled)
431  local_save_flags(flags)
432  __trace_function(tr, ip, parent_ip, flags, pc)
433  check_critical_timing(tr, data, parent_ip ? : ip, cpu)
434  critical_start = 0
435  atomic_dec( & disabled)
Caller
NameDescribe
stop_critical_timings
tracer_hardirqs_onWe are only interested in hardirq on/off events:
tracer_preempt_on