Function report |
Source Code:kernel\trace\trace.c |
Create Date:2022-07-28 11:59:45 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:The current tracer is copied to avoid a global locking* all around.
Proto:static void *s_start(struct seq_file *m, loff_t *pos)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct seq_file * | m | |
loff_t * | pos |
3534 | void * p = NULL |
3535 | l = 0 |
3545 | If Value for the false possibility is greater at compile time(current_trace && name != name) Then trace = current_trace |
3554 | If Not it's true when current open file is snapshot Then atomic_inc( & mporary disable recording ) |
3558 | ent = NULL |
3559 | cpu = 0 |
3560 | idx = -1 |
3562 | If cpu_file == RING_BUFFER_ALL_CPUS Then |
3563 | for_each_tracing_cpu(cpu) |
3564 | tracing_iter_reset(iter, cpu) |
3565 | Else tracing_iter_reset(iter, cpu_file) |
3568 | leftover = 0 |
3572 | Else |
3585 | trace_event_read_lock() |
3586 | trace_access_lock(cpu_file) |
3587 | Return p |
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 |