Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 3 files:

Smatch caller information:

kernel/trace/trace_osnoise.c osnoise_register_instance() -> trace_array_init_printk()

Type Parameter Key Value
PARAM_VALUE 0 tr 4096-ptr_max
PARAM_VALUE 0 tr->current_trace 4096-ptr_max
PARAM_VALUE 0 tr->dir->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 tr->dir->d_inode->i_rwsem.first_waiter->type 0-1
BUF_SIZE 0 tr s32min-(-1),1-s32max
BUF_SIZE 0 tr s32min-(-1),1-s32max
BUF_SIZE 0 tr->current_trace (-1),168
CAPPED_DATA 0 tr 1
DATA_SOURCE 0 tr $0
STR_LEN 0 tr->current_trace->name (-1),99
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 tr->array_buffer.tr->range_addr_size
NO_OVERFLOW_SIMPLE 0 tr->range_addr_size
HALF_LOCKED2 _T->lock

samples/ftrace/sample-trace-array.c sample_trace_array_init() -> trace_array_init_printk()

Type Parameter Key Value
PARAM_VALUE 0 tr 4096-ptr_max
BUF_SIZE 0 tr (-1),8568
BUF_SIZE 0 tr (-1),8568
CAPPED_DATA 0 tr 1
DATA_SOURCE 0 tr r trace_array_get_by_name
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 tr->array_buffer.tr->range_addr_size
NO_OVERFLOW_SIMPLE 0 tr->range_addr_size
NO_OVERFLOW_SIMPLE 0 tr->snapshot_buffer.tr->range_addr_size