Home
last modified time | relevance | path

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

123

/arch/openrisc/kernel/
Dstacktrace.c28 struct stack_trace *trace = data; in save_stack_address() local
33 if (trace->skip > 0) { in save_stack_address()
34 trace->skip--; in save_stack_address()
38 if (trace->nr_entries < trace->max_entries) in save_stack_address()
39 trace->entries[trace->nr_entries++] = addr; in save_stack_address()
42 void save_stack_trace(struct stack_trace *trace) in save_stack_trace() argument
44 unwind_stack(trace, (unsigned long *) &trace, save_stack_address); in save_stack_trace()
51 struct stack_trace *trace = (struct stack_trace *)data; in save_stack_address_nosched() local
59 if (trace->skip > 0) { in save_stack_address_nosched()
60 trace->skip--; in save_stack_address_nosched()
[all …]
Dunwinder.c61 void (*trace)(void *data, unsigned long addr, int reliable)) in unwind_stack()
81 trace(data, frameinfo->ra, reliable); in unwind_stack()
94 void (*trace)(void *data, unsigned long addr, int reliable)) in unwind_stack()
101 trace(data, addr, 0); in unwind_stack()
/arch/sh/kernel/
Dstacktrace.c23 struct stack_trace *trace = data; in save_stack_address() local
28 if (trace->skip > 0) { in save_stack_address()
29 trace->skip--; in save_stack_address()
33 if (trace->nr_entries < trace->max_entries) in save_stack_address()
34 trace->entries[trace->nr_entries++] = addr; in save_stack_address()
41 void save_stack_trace(struct stack_trace *trace) in save_stack_trace() argument
45 unwind_stack(current, NULL, sp, &save_stack_ops, trace); in save_stack_trace()
52 struct stack_trace *trace = (struct stack_trace *)data; in save_stack_address_nosched() local
60 if (trace->skip > 0) { in save_stack_address_nosched()
61 trace->skip--; in save_stack_address_nosched()
[all …]
/arch/mips/kernel/
Dstacktrace.c17 static void save_raw_context_stack(struct stack_trace *trace, in save_raw_context_stack() argument
27 if (trace->skip > 0) in save_raw_context_stack()
28 trace->skip--; in save_raw_context_stack()
30 trace->entries[trace->nr_entries++] = addr; in save_raw_context_stack()
31 if (trace->nr_entries >= trace->max_entries) in save_raw_context_stack()
37 static void save_context_stack(struct stack_trace *trace, in save_context_stack() argument
50 save_raw_context_stack(trace, sp, savesched); in save_context_stack()
55 if (trace->skip > 0) in save_context_stack()
56 trace->skip--; in save_context_stack()
58 trace->entries[trace->nr_entries++] = pc; in save_context_stack()
[all …]
/arch/arm/kernel/
Dstacktrace.c90 struct stack_trace *trace; member
98 struct stack_trace *trace = data->trace; in save_trace() local
109 trace->entries[trace->nr_entries++] = addr; in save_trace()
111 if (trace->nr_entries >= trace->max_entries) in save_trace()
121 trace->entries[trace->nr_entries++] = regs->ARM_pc; in save_trace()
123 return trace->nr_entries >= trace->max_entries; in save_trace()
128 struct stack_trace *trace, unsigned int nosched) in __save_stack_trace() argument
133 data.trace = trace; in __save_stack_trace()
134 data.skip = trace->skip; in __save_stack_trace()
163 void save_stack_trace_regs(struct pt_regs *regs, struct stack_trace *trace) in save_stack_trace_regs() argument
[all …]
/arch/sparc/kernel/
Dstacktrace.c14 struct stack_trace *trace, in __save_stack_trace() argument
55 if (trace->skip > 0) in __save_stack_trace()
56 trace->skip--; in __save_stack_trace()
58 trace->entries[trace->nr_entries++] = pc; in __save_stack_trace()
66 if (trace->nr_entries < in __save_stack_trace()
67 trace->max_entries) in __save_stack_trace()
68 trace->entries[trace->nr_entries++] = pc; in __save_stack_trace()
74 } while (trace->nr_entries < trace->max_entries); in __save_stack_trace()
77 void save_stack_trace(struct stack_trace *trace) in save_stack_trace() argument
79 __save_stack_trace(current_thread_info(), trace, false); in save_stack_trace()
[all …]
/arch/parisc/kernel/
Dstacktrace.c16 static void dump_trace(struct task_struct *task, struct stack_trace *trace) in dump_trace() argument
23 trace->nr_entries = 0; in dump_trace()
24 while (trace->nr_entries < trace->max_entries) { in dump_trace()
29 trace->entries[trace->nr_entries++] = info.ip; in dump_trace()
36 void save_stack_trace(struct stack_trace *trace) in save_stack_trace() argument
38 dump_trace(current, trace); in save_stack_trace()
42 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk() argument
44 dump_trace(tsk, trace); in save_stack_trace_tsk()
/arch/ia64/kernel/
Dstacktrace.c15 struct stack_trace *trace = arg; in ia64_do_save_stack() local
17 int skip = trace->skip; in ia64_do_save_stack()
19 trace->nr_entries = 0; in ia64_do_save_stack()
25 trace->entries[trace->nr_entries++] = ip; in ia64_do_save_stack()
26 if (trace->nr_entries == trace->max_entries) in ia64_do_save_stack()
36 void save_stack_trace(struct stack_trace *trace) in save_stack_trace() argument
38 unw_init_running(ia64_do_save_stack, trace); in save_stack_trace()
/arch/um/kernel/
Dstacktrace.c46 struct stack_trace *trace = data; in save_addr() local
50 if (trace->nr_entries >= trace->max_entries) in save_addr()
53 trace->entries[trace->nr_entries++] = address; in save_addr()
60 static void __save_stack_trace(struct task_struct *tsk, struct stack_trace *trace) in __save_stack_trace() argument
62 dump_trace(tsk, &dump_ops, trace); in __save_stack_trace()
65 void save_stack_trace(struct stack_trace *trace) in save_stack_trace() argument
67 __save_stack_trace(current, trace); in save_stack_trace()
71 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk() argument
73 __save_stack_trace(tsk, trace); in save_stack_trace_tsk()
/arch/arc/kernel/
Dstacktrace.c187 struct stack_trace *trace = arg; in __collect_all() local
189 if (trace->skip > 0) in __collect_all()
190 trace->skip--; in __collect_all()
192 trace->entries[trace->nr_entries++] = address; in __collect_all()
194 if (trace->nr_entries >= trace->max_entries) in __collect_all()
202 struct stack_trace *trace = arg; in __collect_all_but_sched() local
207 if (trace->skip > 0) in __collect_all_but_sched()
208 trace->skip--; in __collect_all_but_sched()
210 trace->entries[trace->nr_entries++] = address; in __collect_all_but_sched()
212 if (trace->nr_entries >= trace->max_entries) in __collect_all_but_sched()
[all …]
/arch/microblaze/kernel/
Dunwind.c157 struct stack_trace *trace,
165 unsigned long fp, struct stack_trace *trace, in unwind_trap() argument
185 struct stack_trace *trace, in microblaze_unwind_inner() argument
216 if (!trace) in microblaze_unwind_inner()
218 unwind_trap(task, pc, fp, trace, loglvl); in microblaze_unwind_inner()
224 if (trace) { in microblaze_unwind_inner()
226 if (trace->skip > 0) in microblaze_unwind_inner()
227 trace->skip--; in microblaze_unwind_inner()
229 trace->entries[trace->nr_entries++] = pc; in microblaze_unwind_inner()
231 if (trace->nr_entries >= trace->max_entries) in microblaze_unwind_inner()
[all …]
Dstacktrace.c19 void save_stack_trace(struct stack_trace *trace) in save_stack_trace() argument
22 trace->skip += 2; in save_stack_trace()
23 microblaze_unwind(NULL, trace, ""); in save_stack_trace()
27 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk() argument
29 microblaze_unwind(tsk, trace, ""); in save_stack_trace_tsk()
/arch/nds32/kernel/
Dstacktrace.c9 void save_stack_trace(struct stack_trace *trace) in save_stack_trace() argument
11 save_stack_trace_tsk(current, trace); in save_stack_trace()
15 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk() argument
18 int skip = trace->skip; in save_stack_trace_tsk()
45 trace->entries[trace->nr_entries++] = lpp; in save_stack_trace_tsk()
46 if (trace->nr_entries >= trace->max_entries) in save_stack_trace_tsk()
/arch/x86/mm/
Dmmio-mod.c135 struct remap_trace *trace = p->private; in pre() local
147 my_trace->phys = addr - trace->probe.addr + trace->phys; in pre()
148 my_trace->map_id = trace->id; in pre()
223 struct remap_trace *trace = kmalloc(sizeof(*trace), GFP_KERNEL); in ioremap_trace_core() local
232 if (!trace) { in ioremap_trace_core()
237 *trace = (struct remap_trace) { in ioremap_trace_core()
243 .private = trace in ioremap_trace_core()
248 map.map_id = trace->id; in ioremap_trace_core()
252 kfree(trace); in ioremap_trace_core()
257 list_add_tail(&trace->list, &trace_list); in ioremap_trace_core()
[all …]
/arch/hexagon/kernel/
Dstacktrace.c22 void save_stack_trace(struct stack_trace *trace) in save_stack_trace() argument
27 int skip = trace->skip; in save_stack_trace()
39 trace->entries[trace->nr_entries++] = frame->rets; in save_stack_trace()
40 if (trace->nr_entries >= trace->max_entries) in save_stack_trace()
/arch/csky/kernel/
Dstacktrace.c126 struct stack_trace *trace = arg; in __save_trace() local
130 if (unlikely(trace->skip > 0)) { in __save_trace()
131 trace->skip--; in __save_trace()
135 trace->entries[trace->nr_entries++] = pc; in __save_trace()
136 return (trace->nr_entries >= trace->max_entries); in __save_trace()
147 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk() argument
149 walk_stackframe(tsk, NULL, save_trace, trace); in save_stack_trace_tsk()
153 void save_stack_trace(struct stack_trace *trace) in save_stack_trace() argument
155 save_stack_trace_tsk(NULL, trace); in save_stack_trace()
/arch/xtensa/kernel/
Dstacktrace.c202 struct stack_trace *trace; member
209 struct stack_trace *trace = trace_data->trace; in stack_trace_cb() local
218 trace->entries[trace->nr_entries++] = frame->pc; in stack_trace_cb()
219 return trace->nr_entries >= trace->max_entries; in stack_trace_cb()
222 void save_stack_trace_tsk(struct task_struct *task, struct stack_trace *trace) in save_stack_trace_tsk() argument
225 .trace = trace, in save_stack_trace_tsk()
226 .skip = trace->skip, in save_stack_trace_tsk()
232 void save_stack_trace(struct stack_trace *trace) in save_stack_trace() argument
234 save_stack_trace_tsk(current, trace); in save_stack_trace()
/arch/openrisc/include/asm/
Dunwinder.h17 void (*trace)(void *data, unsigned long addr,
/arch/microblaze/include/asm/
Dunwind.h23 void microblaze_unwind(struct task_struct *task, struct stack_trace *trace,
/arch/s390/include/asm/trace/
Ddiag.h20 #define TRACE_INCLUDE_PATH asm/trace
/arch/mips/sibyte/
DKconfig153 bool "Capture bus trace before bus error"
156 Run a continuous bus trace, dumping the raw data as soon as
158 is turned on, and also will interfere with JTAG-based trace
/arch/arm64/kernel/
Dtrace-events-emulation.h35 #define TRACE_INCLUDE_FILE trace-events-emulation
/arch/arm64/kvm/vgic/
Dtrace.h35 #define TRACE_INCLUDE_FILE trace
/arch/x86/include/asm/
Dmsr-trace.h6 #define TRACE_INCLUDE_FILE msr-trace
/arch/arm/boot/dts/
Dste-db8500.dtsi20 /* Modem trace memory */

123