Defined in 1 files as a prototype:
Defined in 1 files as a macro:
Defined in 1 files as a function:
Referenced in 4 files:
- kernel/trace/trace_functions.c, line 164
- kernel/trace/trace_irqsoff.c, line 595
- kernel/trace/trace_sched_wakeup.c, line 689
- kernel/trace/trace_selftest.c, line 220
Smatch caller information:
kernel/trace/trace_irqsoff.c __irqsoff_tracer_init() -> ftrace_init_array_ops()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tr | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->array_buffer.buffer | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tr->array_buffer.buffer->flags | 0-4294967295 |
| PARAM_VALUE | 0 | tr->array_buffer.buffer->subbuf_order | s32min-4294967295 |
| PARAM_VALUE | 0 | tr->current_trace | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->current_trace->selftest | 1-u64max |
| PARAM_VALUE | 0 | tr->max_latency | 0 |
| PARAM_VALUE | 0 | tr->snapshot_buffer.buffer->flags | 0-4294967295 |
| PARAM_VALUE | 0 | tr->snapshot_buffer.buffer->subbuf_order | s32min-4294967295 |
| PARAM_VALUE | 0 | tr->snapshot_buffer.buffer->subbuf_size | 0-4294967295 |
| BUF_SIZE | 0 | tr | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | tr | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | tr->current_trace | (-1),168 |
| 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 | |
| NO_OVERFLOW_SIMPLE | 0 | tr->snapshot_buffer.tr->range_addr_size | |
| HALF_LOCKED2 | _T->lock |
kernel/trace/trace_functions.c function_trace_init() -> ftrace_init_array_ops()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tr | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->array_buffer.buffer | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tr->current_trace | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->current_trace->selftest | 1-u64max |
| PARAM_VALUE | 0 | tr->current_trace_flags | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->last_func_repeats | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tr->ops | 1-u64max |
| PARAM_VALUE | 1 | func | 3577760360260374528,3776628395623751680,4813946797029941248,4855583740386476032,8528621452030705664 |
| 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 |
| DATA_SOURCE | 1 | func | r select_trace_function |
| STR_LEN | 0 | tr | (-1),99 |
| STR_LEN | 0 | tr | (-1),99 |
| 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 | |
| NO_OVERFLOW_SIMPLE | 0 | tr->snapshot_buffer.tr->range_addr_size | |
| HALF_LOCKED2 | _T->lock |
kernel/trace/trace.c trace_selftest_ops() -> ftrace_init_array_ops()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tr | 69249725370638336 |
| PARAM_VALUE | 0 | tr->array_buffer.buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->array_buffer.buffer->flags | 0-4294967295 |
| PARAM_VALUE | 0 | tr->array_buffer.buffer->mutex->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | tr->array_buffer.buffer->record_disabled.counter | s32min-s32max |
| PARAM_VALUE | 0 | tr->array_buffer.cpu | 0 |
| PARAM_VALUE | 0 | tr->array_buffer.tr | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->array_buffer.tr->max_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | tr->current_trace | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->current_trace->selftest | 1-u64max |
| PARAM_VALUE | 0 | tr->flags | 2-u32max |
| PARAM_VALUE | 0 | tr->free_on_close | 1 |
| PARAM_VALUE | 0 | tr->function_enabled | 0-1 |
| PARAM_VALUE | 0 | tr->gops->entryfunc | 262108654363811840,1812216896959016960,6437332251299315712 |
| PARAM_VALUE | 0 | tr->gops->idx | 0-15 |
| PARAM_VALUE | 0 | tr->gops->ops.func_hash | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->gops->ops.func_hash->filter_hash | 3175483717725929472 |
| PARAM_VALUE | 0 | tr->gops->ops.func_hash->filter_hash->size_bits | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 0 | tr->gops->ops.func_hash->notrace_hash | 3175483717725929472 |
| PARAM_VALUE | 0 | tr->gops->ops.func_hash->notrace_hash->size_bits | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 0 | tr->gops->ops.func_hash->regex_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->gops->ops.local_hash.regex_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tr->gops->ops.local_hash.regex_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->gops->ops.managed->func | 6429940936083722240 |
| PARAM_VALUE | 0 | tr->gops->ops.managed->func_hash | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->gops->ops.managed->next | 4862980898089123840 |
| PARAM_VALUE | 0 | tr->gops->ops.managed->subop_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->gops->ops.managed->trampoline_size | 0-u32max |
| PARAM_VALUE | 0 | tr->gops->retfunc | 206841834389757952,5067659215040688128 |
| PARAM_VALUE | 0 | tr->last_func_repeats | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tr->module_delta | 0 |
| PARAM_VALUE | 0 | tr->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->ops->func_hash->regex_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->ops->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->ops->local_hash.regex_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tr->ops->private | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->ops->subop_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->ops->subop_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->ops->subop_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->scratch->clock_id | 0-4294967295 |
| PARAM_VALUE | 0 | tr->scratch->nr_entries | 0 |
| PARAM_VALUE | 0 | tr->scratch->text_addr | 6850088256125747200 |
| PARAM_VALUE | 0 | tr->snapshot_buffer.buffer | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tr->snapshot_buffer.buffer->flags | 0-4294967295 |
| PARAM_VALUE | 0 | tr->text_delta | 0 |
| DATA_SOURCE | 0 | tr | $0 |
| STR_LEN | 0 | tr->current_trace->name | (-1),99 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &trace_types_lock |
kernel/trace/trace_sched_wakeup.c __wakeup_tracer_init() -> ftrace_init_array_ops()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tr | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->array_buffer.buffer | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tr->array_buffer.buffer->flags | 0-4294967295 |
| PARAM_VALUE | 0 | tr->array_buffer.buffer->subbuf_order | s32min-4294967295 |
| PARAM_VALUE | 0 | tr->current_trace | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->current_trace->selftest | 1-u64max |
| PARAM_VALUE | 0 | tr->max_latency | 0 |
| PARAM_VALUE | 0 | tr->snapshot_buffer.buffer->flags | 0-4294967295 |
| PARAM_VALUE | 0 | tr->snapshot_buffer.buffer->subbuf_order | s32min-4294967295 |
| PARAM_VALUE | 0 | tr->snapshot_buffer.buffer->subbuf_size | 0-4294967295 |
| BUF_SIZE | 0 | tr | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | tr | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | tr->current_trace | (-1),168 |
| 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 | |
| NO_OVERFLOW_SIMPLE | 0 | tr->snapshot_buffer.tr->range_addr_size | |
| HALF_LOCKED2 | _T->lock |