Function report |
Source Code:kernel\trace\trace.c |
Create Date:2022-07-28 11:58:53 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:race_buffered_event_disable - disable buffering events* When a filter is removed, it is faster to not use the buffered* events, and to commit directly into the ring buffer. Free up* the temp buffers when there are no more users. This requires
Proto:void trace_buffered_event_disable(void)
Type:void
Parameter:Nothing
2532 | WARN_ON_ONCE(!mutex_is_locked( & event_mutex)) |
2534 | If WARN_ON_ONCE(!trace_buffered_event_ref) Then Return |
2537 | If --trace_buffered_event_ref Then Return |
2544 | preempt_enable() |
2549 | for_each_tracing_cpu(cpu) |
2550 | free_page((unsignedlong)per_cpu(trace_buffered_event, cpu)) |
2551 | per_cpu(trace_buffered_event, cpu) = NULL |
2557 | smp_wmb() |
2563 | preempt_enable() |
Name | Describe |
---|---|
trace_buffered_event_enable | race_buffered_event_enable - enable buffering events* When events are being filtered, it is quicker to use a temporary* buffer to write the event data into if there's a likely chance* that it will not be committed |
__ftrace_event_enable_disable | |
filter_disable |
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 |