Home
last modified time | relevance | path

Searched refs:ip (Results 1 – 25 of 32) sorted by relevance

12

/kernel/trace/
Dtrace_functions.c25 function_trace_call(unsigned long ip, unsigned long parent_ip,
28 function_stack_trace_call(unsigned long ip, unsigned long parent_ip,
125 function_trace_call(unsigned long ip, unsigned long parent_ip, in function_trace_call() argument
149 trace_function(tr, ip, parent_ip, flags, pc); in function_trace_call()
176 function_stack_trace_call(unsigned long ip, unsigned long parent_ip, in function_stack_trace_call() argument
200 trace_function(tr, ip, parent_ip, flags, pc); in function_stack_trace_call()
282 unsigned long ip, in update_traceon_count() argument
319 count = (long *)ftrace_func_mapper_find_ip(mapper, ip); in update_traceon_count()
343 ftrace_traceon_count(unsigned long ip, unsigned long parent_ip, in ftrace_traceon_count() argument
347 update_traceon_count(ops, ip, tr, 1, data); in ftrace_traceon_count()
[all …]
Dftrace.c125 static void ftrace_ops_list_func(unsigned long ip, unsigned long parent_ip,
129 static void ftrace_ops_no_ops(unsigned long ip, unsigned long parent_ip);
144 static void ftrace_pid_func(unsigned long ip, unsigned long parent_ip, in ftrace_pid_func() argument
152 op->saved_func(ip, parent_ip, op, regs); in ftrace_pid_func()
391 unsigned long ip; member
532 kallsyms_lookup(rec->ip, NULL, NULL, NULL, str); in function_stat_show()
694 ftrace_find_profiled_func(struct ftrace_profile_stat *stat, unsigned long ip) in ftrace_find_profiled_func() argument
700 key = hash_long(ip, FTRACE_PROFILE_HASH_BITS); in ftrace_find_profiled_func()
707 if (rec->ip == ip) in ftrace_find_profiled_func()
719 key = hash_long(rec->ip, FTRACE_PROFILE_HASH_BITS); in ftrace_add_profile()
[all …]
Dtrace_printk.c200 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()
Dtrace_entries.h64 __field( unsigned long, ip )
69 (void *)__entry->ip, (void *)__entry->parent_ip),
219 __field( unsigned long, ip )
225 (void *)__entry->ip, __entry->fmt),
235 __field( unsigned long, ip )
240 (void *)__entry->ip, __entry->buf),
267 __field( unsigned long, ip )
272 (void *)__entry->ip, __entry->str),
Dtrace_irqsoff.c140 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()
269 unsigned long ip, unsigned long parent_ip, in __trace_function() argument
273 trace_graph_function(tr, ip, parent_ip, flags, pc); in __trace_function()
275 trace_function(tr, ip, parent_ip, flags, pc); in __trace_function()
370 start_critical_timing(unsigned long ip, unsigned long parent_ip, int pc) in start_critical_timing() argument
394 data->critical_start = parent_ip ? : ip; in start_critical_timing()
398 __trace_function(tr, ip, parent_ip, flags, pc); in start_critical_timing()
406 stop_critical_timing(unsigned long ip, unsigned long parent_ip, int pc) in stop_critical_timing() argument
432 __trace_function(tr, ip, parent_ip, flags, pc); in stop_critical_timing()
[all …]
Dtrace_output.c369 unsigned long ip, unsigned long sym_flags) in seq_print_user_ip() argument
382 vma = find_vma(mm, ip); in seq_print_user_ip()
391 ip - vmstart); in seq_print_user_ip()
396 trace_seq_printf(s, " <" IP_FMT ">", ip); in seq_print_user_ip()
401 seq_print_ip_sym(struct trace_seq *s, unsigned long ip, unsigned long sym_flags) in seq_print_ip_sym() argument
403 if (!ip) { in seq_print_ip_sym()
408 seq_print_sym(s, ip, sym_flags & TRACE_ITER_SYM_OFFSET); in seq_print_ip_sym()
411 trace_seq_printf(s, " <" IP_FMT ">", ip); in seq_print_ip_sym()
827 seq_print_ip_sym(s, field->ip, flags); in trace_fn_trace()
847 field->ip, in trace_fn_raw()
[all …]
Dtrace.h112 unsigned long ip; member
728 unsigned long ip,
732 unsigned long ip,
850 trace_vbprintk(unsigned long ip, const char *fmt, va_list args);
852 trace_vprintk(unsigned long ip, const char *fmt, va_list args);
855 unsigned long ip, const char *fmt, va_list args);
857 unsigned long ip, const char *fmt, ...);
859 unsigned long ip, const char *fmt, ...);
887 ftrace_lookup_ip(struct ftrace_hash *hash, unsigned long ip);
1085 void (*func)(unsigned long ip,
[all …]
Dtrace_stack.c155 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()
Dtrace_selftest.c107 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
546 static void trace_selftest_test_regs_func(unsigned long ip, in trace_selftest_test_regs_func() argument
Dftrace_internal.h36 int ftrace_ops_test(struct ftrace_ops *ops, unsigned long ip, void *regs);
58 ftrace_ops_test(struct ftrace_ops *ops, unsigned long ip, void *regs) in ftrace_ops_test() argument
Dtrace_sched_wakeup.c214 wakeup_tracer_call(unsigned long ip, unsigned long parent_ip, in wakeup_tracer_call() argument
226 trace_function(tr, ip, parent_ip, flags, pc); in wakeup_tracer_call()
305 unsigned long ip, unsigned long parent_ip, in __trace_function() argument
309 trace_graph_function(tr, ip, parent_ip, flags, pc); in __trace_function()
311 trace_function(tr, ip, parent_ip, flags, pc); in __trace_function()
Dtrace_events.c2527 event_enable_probe(unsigned long ip, unsigned long parent_ip, in event_enable_probe() argument
2535 pdata = ftrace_func_mapper_find_ip(mapper, ip); in event_enable_probe()
2544 event_enable_count_probe(unsigned long ip, unsigned long parent_ip, in event_enable_count_probe() argument
2552 pdata = ftrace_func_mapper_find_ip(mapper, ip); in event_enable_count_probe()
2572 event_enable_print(struct seq_file *m, unsigned long ip, in event_enable_print() argument
2579 pdata = ftrace_func_mapper_find_ip(mapper, ip); in event_enable_print()
2586 seq_printf(m, "%ps:", (void *)ip); in event_enable_print()
2603 unsigned long ip, void *init_data, void **data) in event_enable_init() argument
2616 ret = ftrace_func_mapper_add_ip(mapper, ip, edata); in event_enable_init()
2641 unsigned long ip, void *data) in event_enable_free() argument
[all …]
Dtrace.c833 int __trace_puts(unsigned long ip, const char *str, int size) in __trace_puts() argument
860 entry->ip = ip; in __trace_puts()
883 int __trace_bputs(unsigned long ip, const char *str) in __trace_bputs() argument
908 entry->ip = ip; in __trace_bputs()
2760 unsigned long ip, unsigned long parent_ip, unsigned long flags, in trace_function() argument
2773 entry->ip = ip; in trace_function()
3103 int trace_vbprintk(unsigned long ip, const char *fmt, va_list args) in trace_vbprintk() argument
3142 entry->ip = ip; in trace_vbprintk()
3165 unsigned long ip, const char *fmt, va_list args) in __trace_array_vprintk() argument
3199 entry->ip = ip; in __trace_array_vprintk()
[all …]
Dtrace_event_perf.c434 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()
Dtrace_output.h16 seq_print_ip_sym(struct trace_seq *s, unsigned long ip,
Dtrace_functions_graph.c191 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/
Drseq.c216 static bool in_rseq_cs(unsigned long ip, struct rseq_cs *rseq_cs) in in_rseq_cs() argument
218 return ip - rseq_cs->start_ip < rseq_cs->post_commit_offset; in in_rseq_cs()
223 unsigned long ip = instruction_pointer(regs); in rseq_ip_fixup() local
237 if (!in_rseq_cs(ip, &rseq_cs)) in rseq_ip_fixup()
245 trace_rseq_ip_fixup(ip, rseq_cs.start_ip, rseq_cs.post_commit_offset, in rseq_ip_fixup()
291 unsigned long ip = instruction_pointer(regs); in rseq_syscall() local
298 rseq_get_rseq_cs(t, &rseq_cs) || in_rseq_cs(ip, &rseq_cs)) in rseq_syscall()
Dkcov.c167 static notrace unsigned long canonicalize_ip(unsigned long ip) in canonicalize_ip() argument
170 ip -= kaslr_offset(); in canonicalize_ip()
172 return ip; in canonicalize_ip()
183 unsigned long ip = canonicalize_ip(_RET_IP_); in __sanitizer_cov_trace_pc() local
194 area[pos] = ip; in __sanitizer_cov_trace_pc()
201 static void notrace write_comp_data(u64 type, u64 arg1, u64 arg2, u64 ip) in write_comp_data() argument
211 ip = canonicalize_ip(ip); in write_comp_data()
229 area[start_index + 3] = ip; in write_comp_data()
Dsoftirq.c110 void __local_bh_disable_ip(unsigned long ip, unsigned int cnt) in __local_bh_disable_ip() argument
129 trace_softirqs_off(ip); in __local_bh_disable_ip()
166 void __local_bh_enable_ip(unsigned long ip, unsigned int cnt) in __local_bh_enable_ip() argument
177 trace_softirqs_on(ip); in __local_bh_enable_ip()
/kernel/time/
Dtimeconv.c82 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/
Dlockdep.c186 static int lock_point(unsigned long points[], unsigned long ip) in lock_point() argument
192 points[i] = ip; in lock_point()
195 if (points[i] == ip) in lock_point()
1304 unsigned long ip, int distance, in add_lock_to_list() argument
3369 static void __trace_hardirqs_on_caller(unsigned long ip) in __trace_hardirqs_on_caller() argument
3391 curr->hardirq_enable_ip = ip; in __trace_hardirqs_on_caller()
3396 void lockdep_hardirqs_on(unsigned long ip) in lockdep_hardirqs_on() argument
3433 __trace_hardirqs_on_caller(ip); in lockdep_hardirqs_on()
3441 void lockdep_hardirqs_off(unsigned long ip) in lockdep_hardirqs_off() argument
3460 curr->hardirq_disable_ip = ip; in lockdep_hardirqs_off()
[all …]
Dmutex.c721 static noinline void __sched __mutex_unlock_slowpath(struct mutex *lock, unsigned long ip);
927 struct lockdep_map *nest_lock, unsigned long ip, in __mutex_lock_common() argument
956 mutex_acquire_nest(&lock->dep_map, subclass, 0, nest_lock, ip); in __mutex_lock_common()
961 lock_acquired(&lock->dep_map, ip); in __mutex_lock_common()
981 lock_contended(&lock->dep_map, ip); in __mutex_lock_common()
1079 lock_acquired(&lock->dep_map, ip); in __mutex_lock_common()
1094 mutex_release(&lock->dep_map, 1, ip); in __mutex_lock_common()
1101 struct lockdep_map *nest_lock, unsigned long ip) in __mutex_lock() argument
1103 return __mutex_lock_common(lock, state, subclass, nest_lock, ip, NULL, false); in __mutex_lock()
1108 struct lockdep_map *nest_lock, unsigned long ip, in __ww_mutex_lock() argument
[all …]
Dlockdep_proc.c482 char ip[32]; in seq_stats() local
490 snprintf(ip, sizeof(ip), "[<%p>]", in seq_stats()
494 ip, (void *)class->contention_point[i]); in seq_stats()
497 char ip[32]; in seq_stats() local
505 snprintf(ip, sizeof(ip), "[<%p>]", in seq_stats()
509 ip, (void *)class->contending_point[i]); in seq_stats()
Drtmutex_common.h33 unsigned long ip; member
/kernel/bpf/
Dstackmap.c312 id_offs[i].ip = ips[i]; in stack_map_get_build_id_offset()
323 id_offs[i].ip = ips[i]; in stack_map_get_build_id_offset()
384 ips = trace->ip + skip + init_nr; in BPF_CALL_3()
486 ips = trace->ip + skip + init_nr; in BPF_CALL_4()

12