Function report |
Source Code:kernel\trace\trace.c |
Create Date:2022-07-28 11:58:51 |
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_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
Proto:void trace_buffered_event_enable(void)
Type:void
Parameter:Nothing
2479 | WARN_ON_ONCE(!mutex_is_locked( & event_mutex)) |
2481 | If trace_buffered_event_ref++ Then Return |
2484 | for_each_tracing_cpu(cpu) |
2485 | page = Allocate pages, preferring the node given as nid. When nid == NUMA_NO_NODE,* prefer the current CPU's closest node. Otherwise node must be valid and* online. |
2490 | event = page_address(page) |
2493 | per_cpu(trace_buffered_event, cpu) = event |
2500 | preempt_enable() |
2503 | Return |
2504 | failed : |
Name | Describe |
---|---|
__ftrace_event_enable_disable | |
event_set_filtered_flag |
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 |