Function report |
Source Code:kernel\trace\trace_mmiotrace.c |
Create Date:2022-07-28 12:12:17 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__trace_mmiotrace_map
Proto:static void __trace_mmiotrace_map(struct trace_array *tr, struct trace_array_cpu *data, struct mmiotrace_map *map)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct trace_array * | tr | |
| struct trace_array_cpu * | data | |
| struct mmiotrace_map * | map |
| 329 | call = event_mmiotrace_map |
| 333 | pc = We mask the PREEMPT_NEED_RESCHED bit so as not to confuse all current users* that think a non-zero value indicates we cannot preempt. |
| 335 | event = trace_buffer_lock_reserve(buffer, TRACE_MMIO_MAP, size of entry , 0, pc) |
| 337 | If Not event Then |
| 338 | atomic_inc( & dropped_count) |
| 339 | Return |
| 341 | entry = g_buffer_event_data - return the data of the event*@event: the event to get the data from |
| 344 | If Not call_filter_check_discard(call, entry, buffer, event) Then trace_buffer_unlock_commit(tr, buffer, event, 0, pc) |
| Name | Describe |
|---|---|
| mmio_trace_mapping |
| 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 |