函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_irqsoff.c Create Date:2022-07-27 13:16:08
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:stop_critical_timing

函数原型:static inline __attribute__((__always_inline__)) void stop_critical_timing(unsigned long ip, unsigned long parent_ip, int pc)

返回类型:void

参数:

类型参数名称
unsigned longip
unsigned longparent_ip
intpc
409  tr等于irqsoff_trace
413  cpu等于These macros fold the SMP functionality into a single CPU system()
415  如果此条件成立可能性小(为编译器优化)(per_cpu(tracing_cpu, cpu))则per_cpu(tracing_cpu, cpu)等于0
417  否则返回
420  如果非tracer_enabled或非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则返回
423  data等于per_cpu_ptr(data, cpu)
425  如果此条件成立可能性小(为编译器优化)(!data)或非critical_startatomic_read( & disabled)则返回
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)
调用者
名称描述
stop_critical_timings
tracer_hardirqs_onWe are only interested in hardirq on/off events:
tracer_preempt_on