Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/trace/trace.c set_tracer_option() -> __set_tracer_option()

Type Parameter Key Value
PARAM_VALUE 0 tr 4096-ptr_max
PARAM_VALUE 0 tr->current_trace_flags 4096-ptr_max
PARAM_VALUE 0 tr->current_trace_flags->opts 4096-ptr_max
PARAM_VALUE 1 tracer_flags 4096-ptr_max
PARAM_VALUE 1 tracer_flags->opts 4096-ptr_max
PARAM_VALUE 2 opts 4096-ptr_max
PARAM_VALUE 2 opts->name 1-u64max
PARAM_VALUE 3 neg 0-1
BUF_SIZE 0 tr s32min-(-1),1-s32max
BUF_SIZE 0 tr s32min-(-1),1-s32max
DATA_SOURCE 0 tr $0
DATA_SOURCE 3 neg $2
FUZZY_MAX 3 neg 1
HARD_MAX 3 neg 1
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
UNITS 0 tr unit_array_size
LOCK2 global &event_mutex
LOCK2 global &trace_types_lock

kernel/trace/trace.c trace_options_write() -> __set_tracer_option()

Type Parameter Key Value
PARAM_VALUE 1 tracer_flags 4096-ptr_max
PARAM_VALUE 2 opts 4096-ptr_max
PARAM_VALUE 3 neg 0-1
FUZZY_MAX 3 neg 1
HARD_MAX 3 neg 1
LOCK2 _T->lock