Function report |
Source Code:kernel\trace\trace_irqsoff.c |
Create Date:2022-07-28 12:09:23 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:start_critical_timing
Proto:static inline __attribute__((__always_inline__)) void start_critical_timing(unsigned long ip, unsigned long parent_ip, int pc)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned long | ip | |
unsigned long | parent_ip | |
int | pc |
373 | tr = irqsoff_trace |
382 | If per_cpu(tracing_cpu, cpu) Then Return |
385 | data = per_cpu_ptr(data, cpu) |
387 | If Value for the false possibility is greater at compile time(!data) || atomic_read( & disabled) Then Return |
390 | atomic_inc( & disabled) |
393 | preempt_timestamp = ftrace_now(cpu) |
394 | critical_start = If parent_ip Else ip |
396 | local_save_flags(flags) |
400 | per_cpu(tracing_cpu, cpu) = 1 |
402 | atomic_dec( & disabled) |
Name | Describe |
---|---|
start_critical_timings | start and stop critical timings used to for stoppage (in idle) |
tracer_hardirqs_off | |
tracer_preempt_off |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |