/kernel/trace/ |
D | trace_functions.c | 25 function_trace_call(unsigned long ip, unsigned long parent_ip, 28 function_stack_trace_call(unsigned long ip, unsigned long parent_ip, 131 function_trace_call(unsigned long ip, unsigned long parent_ip, in function_trace_call() argument 155 trace_function(tr, ip, parent_ip, flags, pc); in function_trace_call() 182 function_stack_trace_call(unsigned long ip, unsigned long parent_ip, in function_stack_trace_call() argument 206 trace_function(tr, ip, parent_ip, flags, pc); in function_stack_trace_call() 288 unsigned long ip, in update_traceon_count() argument 325 count = (long *)ftrace_func_mapper_find_ip(mapper, ip); in update_traceon_count() 349 ftrace_traceon_count(unsigned long ip, unsigned long parent_ip, in ftrace_traceon_count() argument 353 update_traceon_count(ops, ip, tr, 1, data); in ftrace_traceon_count() [all …]
|
D | ftrace.c | 123 static void ftrace_ops_list_func(unsigned long ip, unsigned long parent_ip, 127 static void ftrace_ops_no_ops(unsigned long ip, unsigned long parent_ip); 142 static void ftrace_pid_func(unsigned long ip, unsigned long parent_ip, in ftrace_pid_func() argument 157 op->saved_func(ip, parent_ip, op, regs); in ftrace_pid_func() 387 unsigned long ip; member 528 kallsyms_lookup(rec->ip, NULL, NULL, NULL, str); in function_stat_show() 690 ftrace_find_profiled_func(struct ftrace_profile_stat *stat, unsigned long ip) in ftrace_find_profiled_func() argument 696 key = hash_long(ip, FTRACE_PROFILE_HASH_BITS); in ftrace_find_profiled_func() 703 if (rec->ip == ip) in ftrace_find_profiled_func() 715 key = hash_long(rec->ip, FTRACE_PROFILE_HASH_BITS); in ftrace_add_profile() [all …]
|
D | trace_entries.h | 64 __field_fn( unsigned long, ip ) 69 (void *)__entry->ip, (void *)__entry->parent_ip), 205 __field( unsigned long, ip ) 211 (void *)__entry->ip, __entry->fmt) 219 __field( unsigned long, ip ) 224 (void *)__entry->ip, __entry->buf), 247 __field( unsigned long, ip ) 252 (void *)__entry->ip, __entry->str)
|
D | trace_printk.c | 200 int __trace_bprintk(unsigned long ip, const char *fmt, ...) in __trace_bprintk() argument 212 ret = trace_vbprintk(ip, fmt, ap); in __trace_bprintk() 218 int __ftrace_vbprintk(unsigned long ip, const char *fmt, va_list ap) in __ftrace_vbprintk() argument 226 return trace_vbprintk(ip, fmt, ap); in __ftrace_vbprintk() 230 int __trace_printk(unsigned long ip, const char *fmt, ...) in __trace_printk() argument 239 ret = trace_vprintk(ip, fmt, ap); in __trace_printk() 245 int __ftrace_vprintk(unsigned long ip, const char *fmt, va_list ap) in __ftrace_vprintk() argument 250 return trace_vprintk(ip, fmt, ap); in __ftrace_vprintk()
|
D | trace_irqsoff.c | 140 irqsoff_tracer_call(unsigned long ip, unsigned long parent_ip, in irqsoff_tracer_call() argument 150 trace_function(tr, ip, parent_ip, flags, preempt_count()); in irqsoff_tracer_call() 270 unsigned long ip, unsigned long parent_ip, in __trace_function() argument 274 trace_graph_function(tr, ip, parent_ip, flags, pc); in __trace_function() 276 trace_function(tr, ip, parent_ip, flags, pc); in __trace_function() 371 start_critical_timing(unsigned long ip, unsigned long parent_ip, int pc) in start_critical_timing() argument 395 data->critical_start = parent_ip ? : ip; in start_critical_timing() 399 __trace_function(tr, ip, parent_ip, flags, pc); in start_critical_timing() 407 stop_critical_timing(unsigned long ip, unsigned long parent_ip, int pc) in stop_critical_timing() argument 433 __trace_function(tr, ip, parent_ip, flags, pc); in stop_critical_timing() [all …]
|
D | trace_output.c | 384 unsigned long ip, unsigned long sym_flags) in seq_print_user_ip() argument 397 vma = find_vma(mm, ip); in seq_print_user_ip() 406 ip - vmstart); in seq_print_user_ip() 411 trace_seq_printf(s, " <" IP_FMT ">", ip); in seq_print_user_ip() 416 seq_print_ip_sym(struct trace_seq *s, unsigned long ip, unsigned long sym_flags) in seq_print_ip_sym() argument 418 if (!ip) { in seq_print_ip_sym() 423 seq_print_sym(s, ip, sym_flags & TRACE_ITER_SYM_OFFSET); in seq_print_ip_sym() 426 trace_seq_printf(s, " <" IP_FMT ">", ip); in seq_print_ip_sym() 839 seq_print_ip_sym(s, field->ip, flags); in trace_fn_trace() 859 field->ip, in trace_fn_raw() [all …]
|
D | trace_stack.c | 155 static void check_stack(unsigned long ip, unsigned long *stack) in check_stack() argument 197 if (stack_dump_trace[i] == ip) in check_stack() 292 stack_trace_call(unsigned long ip, unsigned long parent_ip, in stack_trace_call() argument 308 ip += MCOUNT_INSN_SIZE; in stack_trace_call() 310 check_stack(ip, &stack); in stack_trace_call()
|
D | trace_selftest.c | 107 static void trace_selftest_test_probe1_func(unsigned long ip, in trace_selftest_test_probe1_func() argument 116 static void trace_selftest_test_probe2_func(unsigned long ip, in trace_selftest_test_probe2_func() argument 125 static void trace_selftest_test_probe3_func(unsigned long ip, in trace_selftest_test_probe3_func() argument 134 static void trace_selftest_test_global_func(unsigned long ip, in trace_selftest_test_global_func() argument 143 static void trace_selftest_test_dyn_func(unsigned long ip, in trace_selftest_test_dyn_func() argument 417 static void trace_selftest_test_recursion_func(unsigned long ip, in trace_selftest_test_recursion_func() argument 432 static void trace_selftest_test_recursion_safe_func(unsigned long ip, in trace_selftest_test_recursion_safe_func() argument 551 static void trace_selftest_test_regs_func(unsigned long ip, in trace_selftest_test_regs_func() argument
|
D | trace.h | 130 unsigned long ip; member 775 unsigned long ip, 779 unsigned long ip, 916 trace_vbprintk(unsigned long ip, const char *fmt, va_list args); 918 trace_vprintk(unsigned long ip, const char *fmt, va_list args); 921 unsigned long ip, const char *fmt, va_list args); 923 unsigned long ip, const char *fmt, ...); 951 ftrace_lookup_ip(struct ftrace_hash *hash, unsigned long ip); 1180 void (*func)(unsigned long ip, 1187 unsigned long ip, void *init_data, [all …]
|
D | ftrace_internal.h | 14 int ftrace_ops_test(struct ftrace_ops *ops, unsigned long ip, void *regs); 36 ftrace_ops_test(struct ftrace_ops *ops, unsigned long ip, void *regs) in ftrace_ops_test() argument
|
D | trace_sched_wakeup.c | 216 wakeup_tracer_call(unsigned long ip, unsigned long parent_ip, in wakeup_tracer_call() argument 228 trace_function(tr, ip, parent_ip, flags, pc); in wakeup_tracer_call() 307 unsigned long ip, unsigned long parent_ip, in __trace_function() argument 311 trace_graph_function(tr, ip, parent_ip, flags, pc); in __trace_function() 313 trace_function(tr, ip, parent_ip, flags, pc); in __trace_function()
|
D | trace_events.c | 2850 event_enable_probe(unsigned long ip, unsigned long parent_ip, in event_enable_probe() argument 2858 pdata = ftrace_func_mapper_find_ip(mapper, ip); in event_enable_probe() 2867 event_enable_count_probe(unsigned long ip, unsigned long parent_ip, in event_enable_count_probe() argument 2875 pdata = ftrace_func_mapper_find_ip(mapper, ip); in event_enable_count_probe() 2895 event_enable_print(struct seq_file *m, unsigned long ip, in event_enable_print() argument 2902 pdata = ftrace_func_mapper_find_ip(mapper, ip); in event_enable_print() 2909 seq_printf(m, "%ps:", (void *)ip); in event_enable_print() 2926 unsigned long ip, void *init_data, void **data) in event_enable_init() argument 2939 ret = ftrace_func_mapper_add_ip(mapper, ip, edata); in event_enable_init() 2964 unsigned long ip, void *data) in event_enable_free() argument [all …]
|
D | trace_event_perf.c | 434 perf_ftrace_function_call(unsigned long ip, unsigned long parent_ip, in perf_ftrace_function_call() argument 468 entry->ip = ip; in perf_ftrace_function_call()
|
D | trace.c | 1011 int __trace_puts(unsigned long ip, const char *str, int size) in __trace_puts() argument 1041 entry->ip = ip; in __trace_puts() 1065 int __trace_bputs(unsigned long ip, const char *str) in __trace_bputs() argument 1093 entry->ip = ip; in __trace_bputs() 2921 unsigned long ip, unsigned long parent_ip, unsigned long flags, in trace_function() argument 2934 entry->ip = ip; in trace_function() 3264 int trace_vbprintk(unsigned long ip, const char *fmt, va_list args) in trace_vbprintk() argument 3304 entry->ip = ip; in trace_vbprintk() 3329 unsigned long ip, const char *fmt, va_list args) in __trace_array_vprintk() argument 3364 entry->ip = ip; in __trace_array_vprintk() [all …]
|
D | trace_output.h | 16 seq_print_ip_sym(struct trace_seq *s, unsigned long ip,
|
D | trace_functions_graph.c | 191 unsigned long ip, unsigned long flags, int pc) in __trace_graph_function() argument 195 .func = ip, in __trace_graph_function() 199 .func = ip, in __trace_graph_function() 211 unsigned long ip, unsigned long parent_ip, in trace_graph_function() argument 214 __trace_graph_function(tr, ip, flags, pc); in trace_graph_function()
|
/kernel/bpf/ |
D | trampoline.c | 92 static int is_ftrace_location(void *ip) in is_ftrace_location() argument 96 addr = ftrace_location((long)ip); in is_ftrace_location() 99 if (WARN_ON_ONCE(addr != (long)ip)) in is_ftrace_location() 106 void *ip = tr->func.addr; in unregister_fentry() local 110 ret = unregister_ftrace_direct((long)ip, (long)old_addr); in unregister_fentry() 112 ret = bpf_arch_text_poke(ip, BPF_MOD_CALL, old_addr, NULL); in unregister_fentry() 118 void *ip = tr->func.addr; in modify_fentry() local 122 ret = modify_ftrace_direct((long)ip, (long)old_addr, (long)new_addr); in modify_fentry() 124 ret = bpf_arch_text_poke(ip, BPF_MOD_CALL, old_addr, new_addr); in modify_fentry() 131 void *ip = tr->func.addr; in register_fentry() local [all …]
|
D | stackmap.c | 332 id_offs[i].ip = ips[i]; in stack_map_get_build_id_offset() 343 id_offs[i].ip = ips[i]; in stack_map_get_build_id_offset() 372 entry->nr = stack_trace_save_tsk(task, (unsigned long *)entry->ip, in get_callchain_entry_for_task() 380 unsigned long *from = (unsigned long *) entry->ip; in get_callchain_entry_for_task() 381 u64 *to = entry->ip; in get_callchain_entry_for_task() 414 ips = trace->ip + skip; in __bpf_get_stackid() 508 if (trace->ip[nr_kernel] == PERF_CONTEXT_USER) in count_kernel_ip() 631 ips = trace->ip + skip; in __bpf_get_stack()
|
/kernel/ |
D | rseq.c | 225 static bool in_rseq_cs(unsigned long ip, struct rseq_cs *rseq_cs) in in_rseq_cs() argument 227 return ip - rseq_cs->start_ip < rseq_cs->post_commit_offset; in in_rseq_cs() 232 unsigned long ip = instruction_pointer(regs); in rseq_ip_fixup() local 246 if (!in_rseq_cs(ip, &rseq_cs)) in rseq_ip_fixup() 254 trace_rseq_ip_fixup(ip, rseq_cs.start_ip, rseq_cs.post_commit_offset, in rseq_ip_fixup() 307 unsigned long ip = instruction_pointer(regs); in rseq_syscall() local 314 rseq_get_rseq_cs(t, &rseq_cs) || in_rseq_cs(ip, &rseq_cs)) in rseq_syscall()
|
D | kcov.c | 177 static notrace unsigned long canonicalize_ip(unsigned long ip) in canonicalize_ip() argument 180 ip -= kaslr_offset(); in canonicalize_ip() 182 return ip; in canonicalize_ip() 193 unsigned long ip = canonicalize_ip(_RET_IP_); in __sanitizer_cov_trace_pc() local 204 area[pos] = ip; in __sanitizer_cov_trace_pc() 211 static void notrace write_comp_data(u64 type, u64 arg1, u64 arg2, u64 ip) in write_comp_data() argument 221 ip = canonicalize_ip(ip); in write_comp_data() 239 area[start_index + 3] = ip; in write_comp_data()
|
D | softirq.c | 111 void __local_bh_disable_ip(unsigned long ip, unsigned int cnt) in __local_bh_disable_ip() argument 130 lockdep_softirqs_off(ip); in __local_bh_disable_ip() 167 void __local_bh_enable_ip(unsigned long ip, unsigned int cnt) in __local_bh_enable_ip() argument 178 lockdep_softirqs_on(ip); in __local_bh_enable_ip()
|
/kernel/time/ |
D | timeconv.c | 82 const unsigned short *ip; in time64_to_tm() local 121 ip = __mon_yday[__isleap(y)]; in time64_to_tm() 122 for (y = 11; days < ip[y]; y--) in time64_to_tm() 124 days -= ip[y]; in time64_to_tm()
|
/kernel/locking/ |
D | lockdep.c | 219 static int lock_point(unsigned long points[], unsigned long ip) in lock_point() argument 225 points[i] = ip; in lock_point() 228 if (points[i] == ip) in lock_point() 1370 unsigned long ip, u16 distance, u8 dep, in add_lock_to_list() argument 4172 void lockdep_hardirqs_on_prepare(unsigned long ip) in lockdep_hardirqs_on_prepare() argument 4225 void noinstr lockdep_hardirqs_on(unsigned long ip) in lockdep_hardirqs_on() argument 4283 trace->hardirq_enable_ip = ip; in lockdep_hardirqs_on() 4292 void noinstr lockdep_hardirqs_off(unsigned long ip) in lockdep_hardirqs_off() argument 4322 trace->hardirq_disable_ip = ip; in lockdep_hardirqs_off() 4334 void lockdep_softirqs_on(unsigned long ip) in lockdep_softirqs_on() argument [all …]
|
D | mutex.c | 748 static noinline void __sched __mutex_unlock_slowpath(struct mutex *lock, unsigned long ip); 957 struct lockdep_map *nest_lock, unsigned long ip, in __mutex_lock_common() argument 988 mutex_acquire_nest(&lock->dep_map, subclass, 0, nest_lock, ip); in __mutex_lock_common() 993 lock_acquired(&lock->dep_map, ip); in __mutex_lock_common() 1014 lock_contended(&lock->dep_map, ip); in __mutex_lock_common() 1108 lock_acquired(&lock->dep_map, ip); in __mutex_lock_common() 1125 mutex_release(&lock->dep_map, ip); in __mutex_lock_common() 1132 struct lockdep_map *nest_lock, unsigned long ip) in __mutex_lock() argument 1134 return __mutex_lock_common(lock, state, subclass, nest_lock, ip, NULL, false); in __mutex_lock() 1139 struct lockdep_map *nest_lock, unsigned long ip, in __ww_mutex_lock() argument [all …]
|
D | lockdep_proc.c | 532 char ip[32]; in seq_stats() local 540 snprintf(ip, sizeof(ip), "[<%p>]", in seq_stats() 544 ip, (void *)class->contention_point[i]); in seq_stats() 547 char ip[32]; in seq_stats() local 555 snprintf(ip, sizeof(ip), "[<%p>]", in seq_stats() 559 ip, (void *)class->contending_point[i]); in seq_stats()
|