Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/trace/trace_events_hist.c parse_var_ref() -> create_var_ref()

Type Parameter Key Value
PARAM_VALUE 0 hist_data 4096-ptr_max
PARAM_VALUE 0 hist_data->attrs->map_bits 0-s32max
PARAM_VALUE 0 hist_data->event_file 4096-ptr_max
PARAM_VALUE 0 hist_data->map->ops->elt_alloc 7286300139960954880
PARAM_VALUE 0 hist_data->map->ops->elt_free 6798255245786554368
PARAM_VALUE 0 hist_data->map->ops->elt_init 187152866893508608
PARAM_VALUE 1 var_field 4096-ptr_max
PARAM_VALUE 1 var_field->flags 4096-u64max
BUF_SIZE 0 hist_data (-1)-s32max
BUF_SIZE 0 hist_data (-1)-s32max
BUF_SIZE 0 hist_data->attrs (-1)-s32max
BUF_SIZE 0 hist_data->event_file s32min-(-1),1-s32max
DATA_SOURCE 0 hist_data $0
DATA_SOURCE 1 var_field r find_event_var
DATA_SOURCE 2 system $1
DATA_SOURCE 3 event_name $2
STR_LEN 0 hist_data (-1),4
STR_LEN 0 hist_data (-1),4
STR_LEN 0 hist_data->event_file (-1),4
RX_PATH
TASK_NOT_RUNNING

kernel/trace/trace_events_hist.c trace_action_create() -> create_var_ref()

Type Parameter Key Value
PARAM_VALUE 0 hist_data 4096-ptr_max
PARAM_VALUE 0 hist_data->actions 4096-ptr_max
PARAM_VALUE 0 hist_data->attrs->clock 4096-ptr_max
PARAM_VALUE 0 hist_data->attrs->keys_str 4096-ptr_max
PARAM_VALUE 0 hist_data->attrs->map_bits 0,7-17
PARAM_VALUE 0 hist_data->attrs->n_actions 1-2
PARAM_VALUE 0 hist_data->attrs->name 0,4096-ptr_max
PARAM_VALUE 0 hist_data->attrs->sort_key_str 0,4096-ptr_max
PARAM_VALUE 0 hist_data->attrs->vals_str 0,4096-ptr_max
PARAM_VALUE 0 hist_data->attrs->var_defs.n_vars 0
PARAM_VALUE 0 hist_data->event_file->tr->err_log.prev->next 4096-ptr_max
PARAM_VALUE 0 hist_data->event_file->tr->err_log.prev->next->next 4096-ptr_max
PARAM_VALUE 0 hist_data->event_file->tr->snapshot_buffer.buffer->subbuf_order s32min-4294967295
PARAM_VALUE 0 hist_data->event_file->tr->snapshot_buffer.buffer->subbuf_size 0-4294967295
PARAM_VALUE 0 hist_data->map->key_idx 4096-ptr_max
PARAM_VALUE 0 hist_data->map->key_size 0-504
PARAM_VALUE 0 hist_data->map->map 4096-ptr_max
PARAM_VALUE 0 hist_data->map->map_bits 7-17
PARAM_VALUE 0 hist_data->map->n_vars 0-16
PARAM_VALUE 0 hist_data->map->next_elt.counter 0
PARAM_VALUE 0 hist_data->map->ops 2574765353276964864
PARAM_VALUE 0 hist_data->map->private_data 4096-ptr_max
PARAM_VALUE 0 *hist_data->map->key_idx s32min-s32max
PARAM_VALUE 1 var_field 1-u64max
PARAM_VALUE 1 var_field->flags 4096-u64max
BUF_SIZE 0 hist_data->attrs (-1),528
BUF_SIZE 0 hist_data->event_file s32min-(-1),1-s32max
DATA_SOURCE 0 hist_data $0
STR_LEN 0 hist_data->event_file (-1),4
POWER_OF_TWO 0 *hist_data->map
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

kernel/trace/trace_events_hist.c track_data_create() -> create_var_ref()

Type Parameter Key Value
PARAM_VALUE 0 hist_data 4096-ptr_max
PARAM_VALUE 0 hist_data->actions 4096-ptr_max
PARAM_VALUE 0 hist_data->attrs 4096-ptr_max
PARAM_VALUE 0 hist_data->attrs->clock 1-u64max
PARAM_VALUE 0 hist_data->attrs->keys_str 1-u64max
PARAM_VALUE 0 hist_data->attrs->n_actions 1-u32max
PARAM_VALUE 0 hist_data->attrs->sort_key_str 0,4096-ptr_max
PARAM_VALUE 0 hist_data->attrs->var_defs.n_vars 0
PARAM_VALUE 0 hist_data->event_file 4096-ptr_max
PARAM_VALUE 0 hist_data->event_file->tr->err_log.prev->next 4096-ptr_max
PARAM_VALUE 0 hist_data->event_file->tr->err_log.prev->next->next 4096-ptr_max
PARAM_VALUE 0 hist_data->map->key_idx 4096-ptr_max
PARAM_VALUE 0 hist_data->map->map 4096-ptr_max
PARAM_VALUE 0 hist_data->map->map_bits 7-17
PARAM_VALUE 0 hist_data->map->n_vars 0-16
PARAM_VALUE 0 hist_data->map->next_elt.counter 0
PARAM_VALUE 0 hist_data->map->ops 2574765353276964864
PARAM_VALUE 0 hist_data->map->private_data 4096-ptr_max
PARAM_VALUE 0 hist_data->n_fields 1-s32max
PARAM_VALUE 0 *hist_data->map->key_idx s32min-s32max
PARAM_VALUE 1 var_field 4096-ptr_max
PARAM_VALUE 1 var_field->flags 4096-u64max
PARAM_VALUE 2 system 0
PARAM_VALUE 3 event_name 0
BUF_SIZE 0 hist_data 2024
CAPPED_DATA 0 hist_data 1
CAPPED_DATA 0 hist_data->n_fields 1
DATA_SOURCE 0 hist_data $0
DATA_SOURCE 1 var_field r find_target_event_var
POWER_OF_TWO 0 *hist_data->map
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock