Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
Dstacktrace.h82 struct stack_trace { struct
88 extern void save_stack_trace(struct stack_trace *trace); argument
90 struct stack_trace *trace);
92 struct stack_trace *trace);
94 struct stack_trace *trace);
95 extern void save_stack_trace_user(struct stack_trace *trace);
/linux-6.6.21/arch/openrisc/kernel/
Dstacktrace.c28 struct stack_trace *trace = data; in save_stack_address()
42 void save_stack_trace(struct stack_trace *trace) in save_stack_trace()
51 struct stack_trace *trace = (struct stack_trace *)data; in save_stack_address_nosched()
68 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk()
95 save_stack_trace_regs(struct pt_regs *regs, struct stack_trace *trace) in save_stack_trace_regs()
/linux-6.6.21/arch/sh/kernel/
Dstacktrace.c23 struct stack_trace *trace = data; in save_stack_address()
41 void save_stack_trace(struct stack_trace *trace) in save_stack_trace()
52 struct stack_trace *trace = (struct stack_trace *)data; in save_stack_address_nosched()
73 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk()
/linux-6.6.21/tools/perf/util/
Dbpf_lock_contention.c174 u64 *stack_trace, u32 flags) in lock_contention_get_name() argument
226 while (machine__is_lock_function(machine, stack_trace[idx]) && in lock_contention_get_name()
230 addr = stack_trace[idx]; in lock_contention_get_name()
256 u64 *stack_trace; in lock_contention_read() local
257 size_t stack_size = con->max_stack * sizeof(*stack_trace); in lock_contention_read()
267 stack_trace = zalloc(stack_size); in lock_contention_read()
268 if (stack_trace == NULL) in lock_contention_read()
300 bpf_map_lookup_elem(stack, &key.stack_id, stack_trace); in lock_contention_read()
302 if (!match_callstack_filter(machine, stack_trace)) { in lock_contention_read()
336 name = lock_contention_get_name(con, &key, stack_trace, data.flags); in lock_contention_read()
[all …]
/linux-6.6.21/arch/um/kernel/
Dstacktrace.c46 struct stack_trace *trace = data; in save_addr()
60 static void __save_stack_trace(struct task_struct *tsk, struct stack_trace *trace) in __save_stack_trace()
65 void save_stack_trace(struct stack_trace *trace) in save_stack_trace()
71 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk()
/linux-6.6.21/kernel/
Dstacktrace.c248 save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk()
254 save_stack_trace_regs(struct pt_regs *regs, struct stack_trace *trace) in save_stack_trace_regs()
270 struct stack_trace trace = { in stack_trace_save()
294 struct stack_trace trace = { in stack_trace_save_tsk()
317 struct stack_trace trace = { in stack_trace_save_regs()
343 struct stack_trace trace = { in stack_trace_save_tsk_reliable()
363 struct stack_trace trace = { in stack_trace_save_user()
/linux-6.6.21/arch/mips/kernel/
Dstacktrace.c17 static void save_raw_context_stack(struct stack_trace *trace, in save_raw_context_stack()
37 static void save_context_stack(struct stack_trace *trace, in save_context_stack()
72 void save_stack_trace(struct stack_trace *trace) in save_stack_trace()
78 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk()
/linux-6.6.21/arch/microblaze/kernel/
Dunwind.c30 struct stack_trace;
157 struct stack_trace *trace,
165 unsigned long fp, struct stack_trace *trace, in unwind_trap()
185 struct stack_trace *trace, in microblaze_unwind_inner()
273 void microblaze_unwind(struct task_struct *task, struct stack_trace *trace, in microblaze_unwind()
Dstacktrace.c19 void save_stack_trace(struct stack_trace *trace) in save_stack_trace()
27 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk()
/linux-6.6.21/arch/sparc/kernel/
Dstacktrace.c14 struct stack_trace *trace, in __save_stack_trace()
77 void save_stack_trace(struct stack_trace *trace) in save_stack_trace()
83 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk()
/linux-6.6.21/arch/arc/kernel/
Dstacktrace.c188 struct stack_trace *trace = arg; in __collect_all()
203 struct stack_trace *trace = arg; in __collect_all_but_sched()
263 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk()
269 void save_stack_trace(struct stack_trace *trace) in save_stack_trace()
/linux-6.6.21/arch/microblaze/include/asm/
Dunwind.h11 struct stack_trace;
23 void microblaze_unwind(struct task_struct *task, struct stack_trace *trace,
/linux-6.6.21/arch/ia64/kernel/
Dstacktrace.c15 struct stack_trace *trace = arg; in ia64_do_save_stack()
36 void save_stack_trace(struct stack_trace *trace) in save_stack_trace()
/linux-6.6.21/tools/testing/selftests/ftrace/test.d/ftrace/
Dfunc_stack_tracer.tc15 FL=`grep " 0)" stack_trace`
31 FL=`grep " 0)" stack_trace`
/linux-6.6.21/arch/xtensa/kernel/
Dstacktrace.c203 struct stack_trace *trace;
210 struct stack_trace *trace = trace_data->trace; in stack_trace_cb()
223 void save_stack_trace_tsk(struct task_struct *task, struct stack_trace *trace) in save_stack_trace_tsk()
233 void save_stack_trace(struct stack_trace *trace) in save_stack_trace()
/linux-6.6.21/arch/csky/kernel/
Dstacktrace.c123 struct stack_trace *trace = arg; in __save_trace()
144 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk()
150 void save_stack_trace(struct stack_trace *trace) in save_stack_trace()
/linux-6.6.21/arch/powerpc/kernel/
Deeh_event.c125 pe->trace_entries = stack_trace_save(pe->stack_trace, in __eeh_send_failure_event()
126 ARRAY_SIZE(pe->stack_trace), 0); in __eeh_send_failure_event()
Deeh_driver.c892 void **ptrs = (void **) pe->stack_trace; in eeh_handle_normal_event()
/linux-6.6.21/arch/hexagon/kernel/
Dstacktrace.c22 void save_stack_trace(struct stack_trace *trace) in save_stack_trace()
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dmap_ptr_kern.c253 struct bpf_stack_map *stack_trace = in check_stack_trace() local
257 VERIFY(check(&stack_trace->map, map, sizeof(__u32), sizeof(__u64), in check_stack_trace()
/linux-6.6.21/arch/powerpc/include/asm/
Deeh.h99 unsigned long stack_trace[64]; member
/linux-6.6.21/tools/bpf/bpftool/Documentation/
Dbpftool-map.rst53 | | **percpu_array** | **stack_trace** | **cgroup_array** | **lru_hash**
/linux-6.6.21/kernel/locking/
Dlockdep.c549 static unsigned long stack_trace[MAX_STACK_TRACE_ENTRIES]; variable
569 trace = (struct lock_trace *)(stack_trace + nr_stack_trace_entries); in save_trace()
6510 (sizeof(stack_trace) + sizeof(stack_trace_hash)) / 1024 in lockdep_init()
/linux-6.6.21/kernel/trace/
DKconfig324 kernel and displays it in /sys/kernel/tracing/stack_trace.
/linux-6.6.21/Documentation/trace/
Dftrace.rst468 stack_trace:
3703 # cat stack_trace