Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
kernel/trace/trace.c trace_selftest_startup_dynamic_tracing() -> tracer_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 7787664081973497856 |
| PARAM_VALUE | 0 | t->close | 0 |
| PARAM_VALUE | 0 | t->default_flags | 2664242202654904320 |
| PARAM_VALUE | 0 | t->enabled | 0 |
| PARAM_VALUE | 0 | t->flag_changed | 0 |
| PARAM_VALUE | 0 | t->flags | 0 |
| PARAM_VALUE | 0 | t->init | 5443972460567216128 |
| PARAM_VALUE | 0 | t->name | 2067264929196490752 |
| PARAM_VALUE | 0 | t->open | 0 |
| PARAM_VALUE | 0 | t->pipe_close | 0 |
| PARAM_VALUE | 0 | t->pipe_open | 0 |
| PARAM_VALUE | 0 | t->print_header | 0 |
| PARAM_VALUE | 0 | t->print_line | 0 |
| PARAM_VALUE | 0 | t->print_max | 0 |
| PARAM_VALUE | 0 | t->read | 0 |
| PARAM_VALUE | 0 | t->reset | 8936830433366888448 |
| PARAM_VALUE | 0 | t->selftest | 4193717137289084928 |
| PARAM_VALUE | 0 | t->set_flag | 966798785023156224 |
| PARAM_VALUE | 0 | t->splice_read | 0 |
| PARAM_VALUE | 0 | t->start | 1415252602097852416 |
| PARAM_VALUE | 0 | t->stop | 0 |
| PARAM_VALUE | 0 | t->update_thresh | 0 |
| PARAM_VALUE | 1 | tr | 69249725370638336 |
| PARAM_VALUE | 1 | tr->array_buffer.buffer | 4096-ptr_max |
| PARAM_VALUE | 1 | tr->array_buffer.buffer->flags | 0-4294967295 |
| PARAM_VALUE | 1 | tr->array_buffer.buffer->record_disabled.counter | s32min-s32max |
| PARAM_VALUE | 1 | tr->array_buffer.cpu | 0 |
| PARAM_VALUE | 1 | tr->array_buffer.tr | 4096-ptr_max |
| PARAM_VALUE | 1 | tr->array_buffer.tr->max_lock.val.counter | 0-s32max |
| PARAM_VALUE | 1 | tr->current_trace | 4096-ptr_max |
| PARAM_VALUE | 1 | tr->current_trace->selftest | 1-u64max |
| PARAM_VALUE | 1 | tr->flags | 2-u32max |
| PARAM_VALUE | 1 | tr->free_on_close | 1 |
| PARAM_VALUE | 1 | tr->function_enabled | 0-1 |
| PARAM_VALUE | 1 | tr->gops->entryfunc | 262108654363811840,1812216896959016960,6437332251299315712 |
| PARAM_VALUE | 1 | tr->gops->idx | 0-15 |
| PARAM_VALUE | 1 | tr->gops->ops.func_hash | 4096-ptr_max |
| PARAM_VALUE | 1 | tr->gops->ops.func_hash->filter_hash | 3175483717725929472 |
| PARAM_VALUE | 1 | tr->gops->ops.func_hash->filter_hash->size_bits | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 1 | tr->gops->ops.func_hash->notrace_hash | 3175483717725929472 |
| PARAM_VALUE | 1 | tr->gops->ops.func_hash->notrace_hash->size_bits | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 1 | tr->gops->ops.func_hash->regex_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | tr->gops->ops.local_hash.regex_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tr->gops->ops.local_hash.regex_lock.first_waiter | 0 |
| PARAM_VALUE | 1 | tr->gops->ops.local_hash.regex_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | tr->gops->ops.local_hash.regex_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 1 | tr->gops->ops.local_hash.regex_lock.owner.counter | 0 |
| PARAM_VALUE | 1 | tr->gops->ops.managed->func | 6429940936083722240 |
| PARAM_VALUE | 1 | tr->gops->ops.managed->func_hash | 4096-ptr_max |
| PARAM_VALUE | 1 | tr->gops->ops.managed->subop_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | tr->gops->ops.managed->trampoline_size | 0-u32max |
| PARAM_VALUE | 1 | tr->gops->retfunc | 206841834389757952,5067659215040688128 |
| PARAM_VALUE | 1 | tr->last_func_repeats | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tr->module_delta | 0 |
| PARAM_VALUE | 1 | tr->ops->func_hash->regex_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | tr->ops->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | tr->ops->local_hash.regex_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tr->ops->private | 4096-ptr_max |
| PARAM_VALUE | 1 | tr->ops->subop_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | tr->ops->subop_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | tr->ops->subop_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | tr->scratch->clock_id | 0-4294967295 |
| PARAM_VALUE | 1 | tr->scratch->entries->mod_addr | 0 |
| PARAM_VALUE | 1 | tr->scratch->nr_entries | 0 |
| PARAM_VALUE | 1 | tr->scratch->text_addr | 6850088256125747200 |
| PARAM_VALUE | 1 | tr->snapshot_buffer.buffer->flags | 0-4294967295 |
| PARAM_VALUE | 1 | tr->text_delta | 0 |
| BUF_SIZE | 1 | tr | 8568 |
| DATA_SOURCE | 0 | t | $0 |
| DATA_SOURCE | 1 | tr | $1 |
| STR_LEN | 0 | t->flags->trace->name | (-1),99 |
| STR_LEN | 0 | t->name | (-1),99 |
| STR_LEN | 1 | tr->current_trace->name | (-1),99 |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &trace_types_lock |
kernel/trace/trace.c trace_selftest_startup_function() -> tracer_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 7787664081973497856 |
| PARAM_VALUE | 0 | t->close | 0 |
| PARAM_VALUE | 0 | t->default_flags | 2664242202654904320 |
| PARAM_VALUE | 0 | t->enabled | 0 |
| PARAM_VALUE | 0 | t->flag_changed | 0 |
| PARAM_VALUE | 0 | t->flags | 0 |
| PARAM_VALUE | 0 | t->init | 5443972460567216128 |
| PARAM_VALUE | 0 | t->name | 2067264929196490752 |
| PARAM_VALUE | 0 | t->open | 0 |
| PARAM_VALUE | 0 | t->pipe_close | 0 |
| PARAM_VALUE | 0 | t->pipe_open | 0 |
| PARAM_VALUE | 0 | t->print_header | 0 |
| PARAM_VALUE | 0 | t->print_line | 0 |
| PARAM_VALUE | 0 | t->print_max | 0 |
| PARAM_VALUE | 0 | t->read | 0 |
| PARAM_VALUE | 0 | t->reset | 8936830433366888448 |
| PARAM_VALUE | 0 | t->selftest | 4193717137289084928 |
| PARAM_VALUE | 0 | t->set_flag | 966798785023156224 |
| PARAM_VALUE | 0 | t->splice_read | 0 |
| PARAM_VALUE | 0 | t->start | 1415252602097852416 |
| PARAM_VALUE | 0 | t->stop | 0 |
| PARAM_VALUE | 0 | t->update_thresh | 0 |
| PARAM_VALUE | 1 | tr | 69249725370638336 |
| PARAM_VALUE | 1 | tr->array_buffer.buffer | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tr->array_buffer.buffer->record_disabled.counter | s32min-s32max |
| PARAM_VALUE | 1 | tr->current_trace | 4096-ptr_max |
| PARAM_VALUE | 1 | tr->current_trace->selftest | 1-u64max |
| BUF_SIZE | 1 | tr | 8568 |
| DATA_SOURCE | 0 | t | $0 |
| DATA_SOURCE | 1 | tr | $1 |
| STR_LEN | 0 | t->flags->trace->name | (-1),99 |
| STR_LEN | 0 | t->name | (-1),99 |
| STR_LEN | 1 | tr->current_trace->name | (-1),99 |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &trace_types_lock |
kernel/trace/trace.c trace_selftest_startup_irqsoff() -> tracer_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 7226626965892644864 |
| PARAM_VALUE | 0 | t->close | 5755958461926809600 |
| PARAM_VALUE | 0 | t->default_flags | 0 |
| PARAM_VALUE | 0 | t->enabled | 0 |
| PARAM_VALUE | 0 | t->flag_changed | 2352137201383772160 |
| PARAM_VALUE | 0 | t->flags | 0 |
| PARAM_VALUE | 0 | t->init | 4799393121934573568 |
| PARAM_VALUE | 0 | t->name | 733626067582996480 |
| PARAM_VALUE | 0 | t->open | 5842135969786228736 |
| PARAM_VALUE | 0 | t->pipe_close | 0 |
| PARAM_VALUE | 0 | t->pipe_open | 0 |
| PARAM_VALUE | 0 | t->print_header | 1511264023000600576 |
| PARAM_VALUE | 0 | t->print_line | 3389095309850783744 |
| PARAM_VALUE | 0 | t->print_max | 0 |
| PARAM_VALUE | 0 | t->read | 0 |
| PARAM_VALUE | 0 | t->reset | 3803051742120357888 |
| PARAM_VALUE | 0 | t->selftest | 7364708922619854848 |
| PARAM_VALUE | 0 | t->set_flag | 0 |
| PARAM_VALUE | 0 | t->splice_read | 0 |
| PARAM_VALUE | 0 | t->start | 4547446751592378368 |
| PARAM_VALUE | 0 | t->stop | 3550463489154797568 |
| PARAM_VALUE | 0 | t->update_thresh | 0 |
| PARAM_VALUE | 1 | tr | 69249725370638336 |
| PARAM_VALUE | 1 | tr->array_buffer.buffer | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tr->array_buffer.buffer->record_disabled.counter | s32min-s32max |
| PARAM_VALUE | 1 | tr->current_trace | 4096-ptr_max |
| PARAM_VALUE | 1 | tr->current_trace->selftest | 1-u64max |
| BUF_SIZE | 1 | tr | 8568 |
| DATA_SOURCE | 0 | t | $0 |
| DATA_SOURCE | 1 | tr | $1 |
| STR_LEN | 0 | t->flags->trace->name | (-1),99 |
| STR_LEN | 0 | t->name | (-1),99 |
| STR_LEN | 1 | tr->current_trace->name | (-1),99 |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &trace_types_lock |
kernel/trace/trace.c trace_selftest_startup_preemptirqsoff() -> tracer_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 9059189858834378752 |
| PARAM_VALUE | 0 | t->close | 5755958461926809600 |
| PARAM_VALUE | 0 | t->default_flags | 0 |
| PARAM_VALUE | 0 | t->enabled | 0 |
| PARAM_VALUE | 0 | t->flag_changed | 2352137201383772160 |
| PARAM_VALUE | 0 | t->flags | 0 |
| PARAM_VALUE | 0 | t->init | 9116662223096123392 |
| PARAM_VALUE | 0 | t->name | 7287773524076216320 |
| PARAM_VALUE | 0 | t->open | 5842135969786228736 |
| PARAM_VALUE | 0 | t->pipe_close | 0 |
| PARAM_VALUE | 0 | t->pipe_open | 0 |
| PARAM_VALUE | 0 | t->print_header | 1511264023000600576 |
| PARAM_VALUE | 0 | t->print_line | 3389095309850783744 |
| PARAM_VALUE | 0 | t->print_max | 0 |
| PARAM_VALUE | 0 | t->read | 0 |
| PARAM_VALUE | 0 | t->reset | 4687516073136992256 |
| PARAM_VALUE | 0 | t->selftest | 6306207620181909504 |
| PARAM_VALUE | 0 | t->set_flag | 0 |
| PARAM_VALUE | 0 | t->splice_read | 0 |
| PARAM_VALUE | 0 | t->start | 4547446751592378368 |
| PARAM_VALUE | 0 | t->stop | 3550463489154797568 |
| PARAM_VALUE | 0 | t->update_thresh | 0 |
| PARAM_VALUE | 1 | tr | 69249725370638336 |
| PARAM_VALUE | 1 | tr->array_buffer.buffer | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tr->array_buffer.buffer->record_disabled.counter | s32min-s32max |
| PARAM_VALUE | 1 | tr->current_trace | 4096-ptr_max |
| PARAM_VALUE | 1 | tr->current_trace->selftest | 1-u64max |
| BUF_SIZE | 1 | tr | 8568 |
| DATA_SOURCE | 0 | t | $0 |
| DATA_SOURCE | 1 | tr | $1 |
| STR_LEN | 0 | t->flags->trace->name | (-1),99 |
| STR_LEN | 0 | t->name | (-1),99 |
| STR_LEN | 1 | tr->current_trace->name | (-1),99 |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &trace_types_lock |
kernel/trace/trace.c trace_selftest_startup_preemptoff() -> tracer_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 8420352174234226688 |
| PARAM_VALUE | 0 | t->close | 5755958461926809600 |
| PARAM_VALUE | 0 | t->default_flags | 0 |
| PARAM_VALUE | 0 | t->enabled | 0 |
| PARAM_VALUE | 0 | t->flag_changed | 2352137201383772160 |
| PARAM_VALUE | 0 | t->flags | 0 |
| PARAM_VALUE | 0 | t->init | 7574666536227328000 |
| PARAM_VALUE | 0 | t->name | 4346198742748381184 |
| PARAM_VALUE | 0 | t->open | 5842135969786228736 |
| PARAM_VALUE | 0 | t->pipe_close | 0 |
| PARAM_VALUE | 0 | t->pipe_open | 0 |
| PARAM_VALUE | 0 | t->print_header | 1511264023000600576 |
| PARAM_VALUE | 0 | t->print_line | 3389095309850783744 |
| PARAM_VALUE | 0 | t->print_max | 0 |
| PARAM_VALUE | 0 | t->read | 0 |
| PARAM_VALUE | 0 | t->reset | 1641358349523120128 |
| PARAM_VALUE | 0 | t->selftest | 2822303309401399296 |
| PARAM_VALUE | 0 | t->set_flag | 0 |
| PARAM_VALUE | 0 | t->splice_read | 0 |
| PARAM_VALUE | 0 | t->start | 4547446751592378368 |
| PARAM_VALUE | 0 | t->stop | 3550463489154797568 |
| PARAM_VALUE | 0 | t->update_thresh | 0 |
| PARAM_VALUE | 1 | tr | 69249725370638336 |
| PARAM_VALUE | 1 | tr->array_buffer.buffer | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tr->array_buffer.buffer->record_disabled.counter | s32min-s32max |
| PARAM_VALUE | 1 | tr->current_trace | 4096-ptr_max |
| PARAM_VALUE | 1 | tr->current_trace->selftest | 1-u64max |
| BUF_SIZE | 1 | tr | 8568 |
| DATA_SOURCE | 0 | t | $0 |
| DATA_SOURCE | 1 | tr | $1 |
| STR_LEN | 0 | t->flags->trace->name | (-1),99 |
| STR_LEN | 0 | t->name | (-1),99 |
| STR_LEN | 1 | tr->current_trace->name | (-1),99 |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &trace_types_lock |
kernel/trace/trace.c trace_selftest_startup_wakeup() -> tracer_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| PARAM_VALUE | 0 | t->selftest | 1-u64max |
| PARAM_VALUE | 1 | tr | 69249725370638336 |
| PARAM_VALUE | 1 | tr->array_buffer.buffer | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tr->array_buffer.buffer->record_disabled.counter | s32min-s32max |
| PARAM_VALUE | 1 | tr->current_trace | 4096-ptr_max |
| PARAM_VALUE | 1 | tr->current_trace->selftest | 1-u64max |
| BUF_SIZE | 1 | tr | 8568 |
| DATA_SOURCE | 0 | t | $0 |
| DATA_SOURCE | 1 | tr | $1 |
| STR_LEN | 0 | t->flags->trace->name | (-1),99 |
| STR_LEN | 0 | t->name | (-1),99 |
| STR_LEN | 1 | tr->current_trace->name | (-1),99 |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &trace_types_lock |
kernel/trace/trace.c tracing_set_tracer() -> tracer_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| PARAM_VALUE | 0 | t->init | 1-u64max |
| PARAM_VALUE | 1 | tr | 4096-ptr_max |
| PARAM_VALUE | 1 | tr->current_trace | 4717834982680629248 |
| PARAM_VALUE | 1 | tr->current_trace->enabled | 0 |
| PARAM_VALUE | 1 | tr->current_trace->reset | 4744706855571279872 |
| PARAM_VALUE | 1 | tr->current_trace->use_max_tr | 0 |
| PARAM_VALUE | 1 | tr->dir->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | tr->dir->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | tr->ring_buffer_expanded | 1 |
| PARAM_VALUE | 1 | tr->trace_ref | 0 |
| BUF_SIZE | 1 | tr | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | tr | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | tr->current_trace | 168 |
| CAPPED_DATA | 1 | &tr->tracers | 1 |
| DATA_SOURCE | 1 | tr | $0 |
| STR_LEN | 0 | t | (-1),99 |
| STR_LEN | 1 | tr | (-1),99 |
| NO_OVERFLOW_SIMPLE | 1 | tr->array_buffer.tr->range_addr_size | |
| NO_OVERFLOW_SIMPLE | 1 | tr->range_addr_size | |
| NO_OVERFLOW_SIMPLE | 1 | tr->snapshot_buffer.tr->range_addr_size | |
| LOCK2 | _T->lock |