Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a macro:
Defined in 1 files as a function:
Referenced in 14 files:
- arch/s390/lib/test_unwind.c, line 306
- fs/pstore/ftrace.c, line 103
- kernel/kprobes.c, line 1151
- kernel/livepatch/patch.c, line 206
- kernel/trace/fprobe.c, line 370
- kernel/trace/ftrace.c
- kernel/trace/trace_event_perf.c, line 494
- kernel/trace/trace_events.c, line 5185
- kernel/trace/trace_functions.c
- kernel/trace/trace_irqsoff.c, line 495
- kernel/trace/trace_sched_wakeup.c, line 257
- kernel/trace/trace_selftest.c
- kernel/trace/trace_stack.c
- samples/ftrace/ftrace-ops.c, line 133
Smatch caller information:
kernel/kprobes.c __arm_kprobe_ftrace() -> register_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 753557695929417728,8036249593155112960 |
| PARAM_VALUE | 0 | ops->func_hash->regex_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ops->func_hash->regex_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ops->func_hash->regex_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ops->func_hash->regex_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ops->func_hash->regex_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ops->func_hash->regex_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ops->func_hash->regex_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ops->func_hash->regex_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ops->func_hash->regex_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ops->func_hash->regex_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ops->old_hash.filter_hash | 0 |
| PARAM_VALUE | 0 | ops->old_hash.notrace_hash | 0 |
| CAPPED_DATA | 0 | ops | 1 |
| DATA_SOURCE | 0 | ops | $1 |
| BIT_INFO | 0 | ops | 0xa042c2956220000,0x6ff77eff5fe3d000 |
| BIT_INFO | 0 | ops | 0xa042c2956220000,0x6ff77eff5fe3d000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock |
kernel/trace/trace_irqsoff.c register_irqsoff_function() -> register_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
kernel/trace/trace_event_perf.c perf_ftrace_function_register() -> register_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->func | 1239274963996684288 |
| PARAM_VALUE | 0 | ops->private | 0-8193 |
| BUF_SIZE | 0 | ops | 456 |
| RX_PATH | |||
| LOCK2 | _T->lock | ||
| LOCK2 | global &event_mutex | ||
| HALF_LOCKED2 | &p_event->group_leader->ctx->mutex |
kernel/trace/trace_functions.c func_set_flag() -> register_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->func | 3577760360260374528,3776628395623751680,4813946797029941248,4855583740386476032,8528621452030705664 |
| CAPPED_DATA | 0 | ops | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &event_mutex | ||
| HALF_LOCKED2 | global &trace_types_lock |
kernel/trace/trace_functions.c tracing_start_function_trace() -> register_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->func | 3577760360260374528,3776628395623751680,4813946797029941248,4855583740386476032,8528621452030705664 |
| PARAM_VALUE | 0 | ops->private | 4096-ptr_max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock |
samples/ftrace/ftrace-ops.c ops_alloc_init() -> register_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops->flags | 0,4,16,20,16384,16388,16400,16404 |
| PARAM_VALUE | 0 | ops->func | 3070407475379372032,8536960543666524160 |
kernel/trace/trace.c trace_selftest_function_recursion() -> register_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 7784364532739670016 |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &trace_types_lock |
kernel/trace/trace.c trace_selftest_function_recursion() -> register_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 1297852379156836352 |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &trace_types_lock |
kernel/trace/trace.c trace_selftest_function_regs() -> register_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 3774270483131686912 |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &trace_types_lock |
kernel/trace/trace.c trace_selftest_function_regs() -> register_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 3774270483131686912 |
| PARAM_VALUE | 0 | ops->flags | 0,8-u64max |
| PARAM_VALUE | 0 | ops->func_hash | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->local_hash.regex_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | ops->local_hash.regex_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->local_hash.regex_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ops->local_hash.regex_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | ops->subop_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->subop_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->trampoline_size | 2862723085,3006332941,3909005325,4052615181 |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &trace_types_lock |
kernel/trace/trace.c trace_selftest_ops() -> register_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 7541092049634615296 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &trace_types_lock |
kernel/trace/trace.c trace_selftest_ops() -> register_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 817312145550761984 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &trace_types_lock |
kernel/trace/trace.c trace_selftest_ops() -> register_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 5978331909711654912 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &trace_types_lock |
kernel/trace/trace.c trace_selftest_ops() -> register_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->func | 4333300767197274112 |
| PARAM_VALUE | 0 | ops->func_hash->regex_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->local_hash.regex_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ops->private | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->subop_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->subop_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->subop_list.prev->prev | 4096-ptr_max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &trace_types_lock |
kernel/trace/trace.c trace_selftest_ops() -> register_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->func | 7259386649421918208 |
| BUF_SIZE | 0 | ops | 456 |
| DATA_SOURCE | 0 | ops | r _kzalloc_noprof |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &trace_types_lock |
kernel/trace/fprobe.c fprobe_ftrace_add_ips() -> register_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 4986900513485848576 |
| PARAM_VALUE | 0 | ops->func_hash | 3885368483288637496,4986900513485848616 |
| PARAM_VALUE | 0 | ops->local_hash.regex_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | ops->local_hash.regex_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->local_hash.regex_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ops->local_hash.regex_lock.owner.counter | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | global &event_mutex |
kernel/trace/trace_stack.c stack_trace_init() -> register_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 1763665031404462080 |
| PARAM_VALUE | 0 | ops->local_hash.regex_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | ops->local_hash.regex_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ops->local_hash.regex_lock.owner.counter | (-4611686018427387904)-4611686018427387903 |
| NOCHECK_CALL |
kernel/trace/trace_stack.c stack_trace_sysctl() -> register_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 1763665031404462080 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock |
kernel/trace/trace_sched_wakeup.c register_wakeup_function() -> register_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
kernel/trace/trace_events.c event_trace_self_test_with_function() -> register_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 6305966773197635584 |
fs/pstore/ftrace.c pstore_set_ftrace_enabled() -> register_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 5048387042400030720 |
| PARAM_VALUE | 0 | ops->flags | 0,64-u64max |
| PARAM_VALUE | 0 | ops->local_hash.regex_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | ops->local_hash.regex_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ops->local_hash.regex_lock.owner.counter | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &psinfo_lock | ||
| HALF_LOCKED2 | global &pstore_ftrace_lock |