Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- include/linux/trace_seq.h, line 150 (as a function)
- kernel/trace/trace_seq.c, line 48 (as a function)
Referenced in 4 files:
- kernel/trace/ftrace.c, line 607
- kernel/trace/trace.c
- kernel/trace/trace_recursion_record.c, line 168
- kernel/trace/trace_remote.c, line 712
Smatch caller information:
kernel/trace/trace_remote.c trace_show() -> trace_print_seq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m | 4096-ptr_max |
| PARAM_VALUE | 0 | m->buf | 1-u64max |
| PARAM_VALUE | 0 | m->count | 0-999999999 |
| PARAM_VALUE | 0 | m->from | 0 |
| PARAM_VALUE | 0 | m->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | m->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | m->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | m->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | m->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | m->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | m->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | m->op | 4096-ptr_max |
| PARAM_VALUE | 1 | s | 4096-ptr_max |
| PARAM_VALUE | 1 | s->full | 0 |
| PARAM_VALUE | 1 | s->seq.size | 1-u64max |
| BUF_SIZE | 0 | m | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | m | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | m->buf | (-1)-2147479552 |
| CAPPED_DATA | 0 | m->count | 1 |
| DATA_SOURCE | 0 | m | $0 |
| TERMINATED | 1 | s->seq.buffer | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | m->read_pos | 0-13442450941 |
| LOCK2 | 0 | &m->lock | |
| TYPE_LOCK | (struct seq_file)->lock |
kernel/trace/trace_recursion_record.c recursed_function_seq_show() -> trace_print_seq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m | 4096-ptr_max |
| PARAM_VALUE | 0 | m->buf | 1-u64max |
| PARAM_VALUE | 0 | m->count | 0-999999999 |
| PARAM_VALUE | 0 | m->from | 0 |
| PARAM_VALUE | 0 | m->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | m->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | m->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | m->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | m->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | m->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | m->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | m->op | 4096-ptr_max |
| PARAM_VALUE | 1 | s | 4096-ptr_max |
| PARAM_VALUE | 1 | s->seq.size | 1-u64max |
| BUF_SIZE | 0 | m | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | m | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | m->buf | (-1)-2147479552 |
| CAPPED_DATA | 0 | m->count | 1 |
| DATA_SOURCE | 0 | m | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | m->read_pos | 0-13442450941 |
| LOCK2 | 0 | &m->lock | |
| TYPE_LOCK | (struct seq_file)->lock |
kernel/trace/trace.c print_trace_header() -> trace_print_seq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m | 4096-ptr_max |
| PARAM_VALUE | 0 | m->file | 4096-ptr_max |
| PARAM_VALUE | 0 | m->file->f_cred | 4096-ptr_max |
| PARAM_VALUE | 0 | m->private | 4096-ptr_max |
| PARAM_VALUE | 1 | s | 4096-ptr_max |
| BUF_SIZE | 0 | m | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | m | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | m->buf | (-1)-2147479552 |
| CAPPED_DATA | 0 | m->size | 1 |
| DATA_SOURCE | 0 | m | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | m->read_pos | 0-11442450941[c] |
| HALF_LOCKED2 | 0 | &m->lock |
kernel/trace/trace.c print_trace_header() -> trace_print_seq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m | 4096-ptr_max |
| PARAM_VALUE | 0 | m->file | 4096-ptr_max |
| PARAM_VALUE | 0 | m->file->f_cred | 4096-ptr_max |
| PARAM_VALUE | 0 | m->private | 4096-ptr_max |
| PARAM_VALUE | 1 | s | 4096-ptr_max |
| BUF_SIZE | 0 | m | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | m | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | m->buf | (-1)-2147479552 |
| CAPPED_DATA | 0 | m->size | 1 |
| DATA_SOURCE | 0 | m | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | m->read_pos | 0-11442450941[c] |
| HALF_LOCKED2 | 0 | &m->lock |
kernel/trace/trace.c s_show() -> trace_print_seq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m | 4096-ptr_max |
| PARAM_VALUE | 0 | m->buf | 1-u64max |
| PARAM_VALUE | 0 | m->count | 0-999999999 |
| PARAM_VALUE | 0 | m->from | 0 |
| PARAM_VALUE | 0 | m->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | m->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | m->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | m->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | m->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | m->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | m->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | m->op | 4096-ptr_max |
| PARAM_VALUE | 1 | s | 4096-ptr_max |
| BUF_SIZE | 0 | m | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | m | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | m->buf | (-1)-2147479552 |
| CAPPED_DATA | 0 | m->count | 1 |
| DATA_SOURCE | 0 | m | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | m->read_pos | 0-13442450941 |
| LOCK2 | 0 | &m->lock | |
| TYPE_LOCK | (struct seq_file)->lock |
kernel/trace/trace.c s_show() -> trace_print_seq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m | 4096-ptr_max |
| PARAM_VALUE | 0 | m->buf | 1-u64max |
| PARAM_VALUE | 0 | m->count | 0-999999999 |
| PARAM_VALUE | 0 | m->from | 0 |
| PARAM_VALUE | 0 | m->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | m->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | m->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | m->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | m->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | m->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | m->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | m->op | 4096-ptr_max |
| PARAM_VALUE | 1 | s | 4096-ptr_max |
| BUF_SIZE | 0 | m | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | m | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | m->buf | (-1)-2147479552 |
| CAPPED_DATA | 0 | m->count | 1 |
| DATA_SOURCE | 0 | m | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | m->read_pos | 0-13442450941 |
| LOCK2 | 0 | &m->lock | |
| TYPE_LOCK | (struct seq_file)->lock |
kernel/trace/ftrace.c function_stat_show() -> trace_print_seq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m | 4096-ptr_max |
| PARAM_VALUE | 0 | m->buf | 1-u64max |
| PARAM_VALUE | 0 | m->from | 0 |
| PARAM_VALUE | 0 | m->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | m->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | m->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | m->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | m->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | m->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | m->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | m->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | m->op | 4096-ptr_max |
| PARAM_VALUE | 0 | m->private | 4096-ptr_max |
| PARAM_VALUE | 1 | s | 8884223723105214464 |
| PARAM_VALUE | 1 | s->full | 0-1 |
| PARAM_VALUE | 1 | s->seq.size | 1-u64max |
| BUF_SIZE | 0 | m | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | m | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | m->buf | (-1)-2147479552 |
| CAPPED_DATA | 0 | m->size | 1 |
| DATA_SOURCE | 0 | m | $0 |
| TERMINATED | 1 | s->seq.buffer | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | m->read_pos | 0-13442450941 |
| LOCK2 | _T->lock | ||
| LOCK2 | 0 | &m->lock | |
| TYPE_LOCK | (struct seq_file)->lock |