Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- kernel/trace/trace_functions_graph.c
- kernel/trace/trace_irqsoff.c, line 249
- kernel/trace/trace_sched_wakeup.c, line 186
Smatch caller information:
kernel/trace/trace_irqsoff.c irqsoff_trace_open() -> graph_trace_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iter | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->tr | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->trace | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->trace->open | 1-u64max |
| BUF_SIZE | 0 | iter | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | iter | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | iter->array_buffer | (-1),40 |
| BUF_SIZE | 0 | iter->buffer_iter | (-1)-65544 |
| BUF_SIZE | 0 | iter->temp | (-1),128 |
| BUF_SIZE | 0 | iter->tr | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | iter | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | global &trace_types_lock |
kernel/trace/trace_sched_wakeup.c wakeup_trace_open() -> graph_trace_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iter | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->tr | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->trace | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->trace->open | 1-u64max |
| BUF_SIZE | 0 | iter | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | iter | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | iter->array_buffer | (-1),40 |
| BUF_SIZE | 0 | iter->buffer_iter | (-1)-65544 |
| BUF_SIZE | 0 | iter->temp | (-1),128 |
| BUF_SIZE | 0 | iter->tr | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | iter | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | global &trace_types_lock |
kernel/trace/trace.c __tracing_open() -> (struct tracer)->open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iter | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->array_buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->buffer_iter | 16,4096-ptr_max |
| PARAM_VALUE | 0 | iter->fmt | 0 |
| PARAM_VALUE | 0 | iter->fmt_size | 0 |
| PARAM_VALUE | 0 | iter->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | iter->mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | iter->mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | iter->mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | iter->pos | (-1) |
| PARAM_VALUE | 0 | iter->started | 1-u64max |
| PARAM_VALUE | 0 | iter->temp | 0,4096-ptr_max |
| PARAM_VALUE | 0 | iter->tr | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->tr->current_trace | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->trace | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->trace->open | 1-u64max |
| BUF_SIZE | 0 | iter | s32min-s32max |
| BUF_SIZE | 0 | iter->array_buffer | 40 |
| BUF_SIZE | 0 | iter->buffer_iter | 0-65544 |
| BUF_SIZE | 0 | iter->temp | 128 |
| BUF_SIZE | 0 | iter->tr | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | iter | r __seq_open_private |
| CONTAINER | 0 | -48-8+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &trace_types_lock |
kernel/trace/trace.c s_start() -> (struct tracer)->open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iter | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->tr | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->trace | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->trace->open | 1-u64max |
| BUF_SIZE | 0 | iter | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | iter | s32min-(-2),1-s32max |
| CONTAINER | 0 | -48-8+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &m->lock | ||
| LOCK2 | global &trace_types_lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
kernel/trace/trace.c trace_init_iter() -> (struct tracer)->open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iter | 5788541559921344512,7508949142300868608 |
| PARAM_VALUE | 0 | iter->array_buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->cpu_file | (-1) |
| PARAM_VALUE | 0 | iter->tr | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->tr->buffer_disabled | 0-1 |
| PARAM_VALUE | 0 | iter->tr->current_trace | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->trace | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->trace->open | 1-u64max |
| BUF_SIZE | 0 | iter->array_buffer | 40 |
| DATA_SOURCE | 0 | iter | $0 |
| CONTAINER | 0 | -48-8+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | flags |
kernel/trace/trace.c tracing_open_pipe() -> (struct tracer)->pipe_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iter | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->array_buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->cpu_file | (-1)-s32max |
| PARAM_VALUE | 0 | iter->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | iter->mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | iter->mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | iter->mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | iter->seq.buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->seq.full | 0 |
| PARAM_VALUE | 0 | iter->seq.readpos | 0 |
| PARAM_VALUE | 0 | iter->seq.seq->buffer | 0-255 |
| PARAM_VALUE | 0 | iter->seq.seq.buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->seq.seq.len | 0 |
| PARAM_VALUE | 0 | iter->seq.seq.size | 8156 |
| PARAM_VALUE | 0 | iter->started | 1-u64max |
| PARAM_VALUE | 0 | iter->tr | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->tr->current_trace | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->trace | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->trace->pipe_open | 1-u64max |
| BUF_SIZE | 0 | iter | 16696 |
| BUF_SIZE | 0 | iter->array_buffer | 40 |
| BUF_SIZE | 0 | iter->tr | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | iter | r _kzalloc_noprof |
| CONTAINER | 0 | -56-8+0 | $(-1) |
| TERMINATED | 0 | iter->seq.seq.buffer | 1 |
| MEM_ZERO | 0 | iter->started->bits | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock |