Home
last modified time | relevance | path

Searched refs:trace (Results 1 – 200 of 366) sorted by relevance

12

/linux-4.4.14/arch/x86/kernel/
Dstacktrace.c20 struct stack_trace *trace = data; in __save_stack_address() local
27 if (trace->skip > 0) { in __save_stack_address()
28 trace->skip--; in __save_stack_address()
31 if (trace->nr_entries < trace->max_entries) in __save_stack_address()
32 trace->entries[trace->nr_entries++] = addr; in __save_stack_address()
61 void save_stack_trace(struct stack_trace *trace) in save_stack_trace() argument
63 dump_trace(current, NULL, NULL, 0, &save_stack_ops, trace); in save_stack_trace()
64 if (trace->nr_entries < trace->max_entries) in save_stack_trace()
65 trace->entries[trace->nr_entries++] = ULONG_MAX; in save_stack_trace()
69 void save_stack_trace_regs(struct pt_regs *regs, struct stack_trace *trace) in save_stack_trace_regs() argument
[all …]
Dftrace.c976 struct ftrace_graph_ent trace; in prepare_ftrace_return() local
1016 trace.func = self_addr; in prepare_ftrace_return()
1017 trace.depth = current->curr_ret_stack + 1; in prepare_ftrace_return()
1020 if (!ftrace_graph_entry(&trace)) { in prepare_ftrace_return()
1025 if (ftrace_push_return_trace(old, self_addr, &trace.depth, in prepare_ftrace_return()
Dmcount_64.S263 jnz trace
277 trace: label
/linux-4.4.14/Documentation/DocBook/
Dtracepoint.xml.db1 API-trace-irq-handler-entry
2 API-trace-irq-handler-exit
3 API-trace-softirq-entry
4 API-trace-softirq-exit
5 API-trace-softirq-raise
6 API-trace-signal-generate
7 API-trace-signal-deliver
8 API-trace-block-touch-buffer
9 API-trace-block-dirty-buffer
10 API-trace-block-rq-abort
[all …]
D.tracepoint.xml.cmd2 …ocBook/tracepoint.tmpl include/trace/events/irq.h include/trace/events/signal.h include/trace/even…
/linux-4.4.14/arch/sh/kernel/
Dstacktrace.c30 struct stack_trace *trace = data; in save_stack_address() local
35 if (trace->skip > 0) { in save_stack_address()
36 trace->skip--; in save_stack_address()
40 if (trace->nr_entries < trace->max_entries) in save_stack_address()
41 trace->entries[trace->nr_entries++] = addr; in save_stack_address()
49 void save_stack_trace(struct stack_trace *trace) in save_stack_trace() argument
53 unwind_stack(current, NULL, sp, &save_stack_ops, trace); in save_stack_trace()
54 if (trace->nr_entries < trace->max_entries) in save_stack_trace()
55 trace->entries[trace->nr_entries++] = ULONG_MAX; in save_stack_trace()
62 struct stack_trace *trace = (struct stack_trace *)data; in save_stack_address_nosched() local
[all …]
Dftrace.c344 struct ftrace_graph_ent trace; in prepare_ftrace_return() local
387 err = ftrace_push_return_trace(old, self_addr, &trace.depth, 0); in prepare_ftrace_return()
393 trace.func = self_addr; in prepare_ftrace_return()
396 if (!ftrace_graph_entry(&trace)) { in prepare_ftrace_return()
/linux-4.4.14/arch/arm/kernel/
Dstacktrace.c64 struct stack_trace *trace; member
73 struct stack_trace *trace = data->trace; in save_trace() local
84 trace->entries[trace->nr_entries++] = addr; in save_trace()
86 if (trace->nr_entries >= trace->max_entries) in save_trace()
103 trace->entries[trace->nr_entries++] = regs->ARM_pc; in save_trace()
105 return trace->nr_entries >= trace->max_entries; in save_trace()
110 struct stack_trace *trace, unsigned int nosched) in __save_stack_trace() argument
115 data.trace = trace; in __save_stack_trace()
117 data.skip = trace->skip; in __save_stack_trace()
127 if (trace->nr_entries < trace->max_entries) in __save_stack_trace()
[all …]
Dftrace.c201 struct ftrace_graph_ent trace; in prepare_ftrace_return() local
211 trace.func = self_addr; in prepare_ftrace_return()
212 trace.depth = current->curr_ret_stack + 1; in prepare_ftrace_return()
215 if (!ftrace_graph_entry(&trace)) { in prepare_ftrace_return()
220 err = ftrace_push_return_trace(old, self_addr, &trace.depth, in prepare_ftrace_return()
Dentry-armv.S152 .macro svc_entry, stack_hole=0, trace=1, uaccess=1
193 .if \trace
309 svc_entry trace=0
337 svc_entry trace=0
376 .macro usr_entry, trace=1, uaccess=1
/linux-4.4.14/tools/perf/
Dbuiltin-trace.c276 struct trace *trace; member
1400 struct trace { struct
1506 struct trace *trace) in thread__fd_path() argument
1517 if (!trace->live) in thread__fd_path()
1519 ++trace->stats.proc_getname; in thread__fd_path()
1532 const char *path = thread__fd_path(arg->thread, fd, arg->trace); in syscall_arg__scnprintf_fd()
1567 if (!arg->trace->vfs_getname) in syscall_arg__scnprintf_filename()
1574 static bool trace__filter_duration(struct trace *trace, double t) in trace__filter_duration() argument
1576 return t < (trace->duration_filter * NSEC_PER_MSEC); in trace__filter_duration()
1579 static size_t trace__fprintf_tstamp(struct trace *trace, u64 tstamp, FILE *fp) in trace__fprintf_tstamp() argument
[all …]
DBuild23 perf-$(CONFIG_AUDIT) += builtin-trace.o
38 CFLAGS_builtin-trace.o += -DSTRACE_GROUPS_DIR="BUILD_STR($(STRACE_GROUPS_DIR_SQ))"
Dcommand-list.txt28 perf-trace mainporcelain common
/linux-4.4.14/arch/mips/kernel/
Dstacktrace.c14 static void save_raw_context_stack(struct stack_trace *trace, in save_raw_context_stack() argument
24 if (trace->skip > 0) in save_raw_context_stack()
25 trace->skip--; in save_raw_context_stack()
27 trace->entries[trace->nr_entries++] = addr; in save_raw_context_stack()
28 if (trace->nr_entries >= trace->max_entries) in save_raw_context_stack()
34 static void save_context_stack(struct stack_trace *trace, in save_context_stack() argument
47 save_raw_context_stack(trace, sp, savesched); in save_context_stack()
52 if (trace->skip > 0) in save_context_stack()
53 trace->skip--; in save_context_stack()
55 trace->entries[trace->nr_entries++] = pc; in save_context_stack()
[all …]
Dftrace.c338 struct ftrace_graph_ent trace; in prepare_ftrace_return() local
385 if (ftrace_push_return_trace(old_parent_ra, self_ra, &trace.depth, fp) in prepare_ftrace_return()
398 trace.func = self_ra - (MCOUNT_INSN_SIZE * insns); in prepare_ftrace_return()
401 if (!ftrace_graph_entry(&trace)) { in prepare_ftrace_return()
/linux-4.4.14/arch/parisc/kernel/
Dstacktrace.c15 static void dump_trace(struct task_struct *task, struct stack_trace *trace) in dump_trace() argument
35 trace->nr_entries = 0; in dump_trace()
36 while (trace->nr_entries < trace->max_entries) { in dump_trace()
41 trace->entries[trace->nr_entries++] = info.ip; in dump_trace()
49 void save_stack_trace(struct stack_trace *trace) in save_stack_trace() argument
51 dump_trace(current, trace); in save_stack_trace()
52 if (trace->nr_entries < trace->max_entries) in save_stack_trace()
53 trace->entries[trace->nr_entries++] = ULONG_MAX; in save_stack_trace()
57 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk() argument
59 dump_trace(tsk, trace); in save_stack_trace_tsk()
[all …]
Dftrace.c49 static void pop_return_trace(struct ftrace_graph_ret *trace, unsigned long *ret) in pop_return_trace() argument
65 trace->func = current->ret_stack[index].func; in pop_return_trace()
66 trace->calltime = current->ret_stack[index].calltime; in pop_return_trace()
67 trace->overrun = atomic_read(&current->trace_overrun); in pop_return_trace()
68 trace->depth = index; in pop_return_trace()
81 struct ftrace_graph_ret trace; in ftrace_return_to_handler() local
84 pop_return_trace(&trace, &ret); in ftrace_return_to_handler()
85 trace.rettime = local_clock(); in ftrace_return_to_handler()
86 ftrace_graph_return(&trace); in ftrace_return_to_handler()
113 struct ftrace_graph_ent trace; in prepare_ftrace_return() local
[all …]
/linux-4.4.14/arch/s390/kernel/
Dstacktrace.c13 static unsigned long save_context_stack(struct stack_trace *trace, in save_context_stack() argument
30 if (!trace->skip) in save_context_stack()
31 trace->entries[trace->nr_entries++] = addr; in save_context_stack()
33 trace->skip--; in save_context_stack()
34 if (trace->nr_entries >= trace->max_entries) in save_context_stack()
51 if (!trace->skip) in save_context_stack()
52 trace->entries[trace->nr_entries++] = addr; in save_context_stack()
54 trace->skip--; in save_context_stack()
56 if (trace->nr_entries >= trace->max_entries) in save_context_stack()
63 void save_stack_trace(struct stack_trace *trace) in save_stack_trace() argument
[all …]
Dftrace.c200 struct ftrace_graph_ent trace; in prepare_ftrace_return() local
207 trace.func = ip; in prepare_ftrace_return()
208 trace.depth = current->curr_ret_stack + 1; in prepare_ftrace_return()
210 if (!ftrace_graph_entry(&trace)) in prepare_ftrace_return()
212 if (ftrace_push_return_trace(parent, ip, &trace.depth, 0) == -EBUSY) in prepare_ftrace_return()
/linux-4.4.14/tools/testing/selftests/ftrace/test.d/kprobe/
Dkprobe_ftrace.tc16 echo > trace
18 grep testprobe trace
19 ! grep '_do_fork <-' trace
23 echo > trace
25 grep testprobe trace
26 grep '_do_fork <-' trace
30 echo > trace
32 ! grep testprobe trace
33 grep '_do_fork <-' trace
38 echo > trace
[all …]
/linux-4.4.14/arch/cris/kernel/
Dstacktrace.c24 struct stack_trace *trace; member
34 struct stack_trace *trace = data->trace; in save_trace() local
44 trace->entries[trace->nr_entries++] = addr; in save_trace()
46 return trace->nr_entries >= trace->max_entries; in save_trace()
49 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk() argument
54 data.trace = trace; in save_stack_trace_tsk()
55 data.skip = trace->skip; in save_stack_trace_tsk()
66 if (trace->nr_entries < trace->max_entries) in save_stack_trace_tsk()
67 trace->entries[trace->nr_entries++] = ULONG_MAX; in save_stack_trace_tsk()
70 void save_stack_trace(struct stack_trace *trace) in save_stack_trace() argument
[all …]
/linux-4.4.14/tools/virtio/virtio-trace/
DREADME1 Trace Agent for virtio-trace
4 Trace agent is a user tool for sending trace data of a guest to a Host in low
8 - write trace data to stdout by using -o option
11 The trace agent operates as follows:
16 4) After the controller of the trace agent receives a start order from a host,
18 5) The read/write threads start to read trace data from ring-buffers and
21 stop to read trace data.
28 Makefile: Makefile of trace agent for virtio-trace
29 trace-agent.c: includes main function, sets up for operating trace agent
30 trace-agent.h: includes all structures and some macros
[all …]
DMakefile4 all: trace-agent
9 trace-agent: trace-agent.o trace-agent-ctl.o trace-agent-rw.o
13 rm -f *.o trace-agent
/linux-4.4.14/arch/arm64/kernel/
Dstacktrace.c73 struct stack_trace *trace; member
81 struct stack_trace *trace = data->trace; in save_trace() local
91 trace->entries[trace->nr_entries++] = addr; in save_trace()
93 return trace->nr_entries >= trace->max_entries; in save_trace()
96 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk() argument
101 data.trace = trace; in save_stack_trace_tsk()
102 data.skip = trace->skip; in save_stack_trace_tsk()
117 if (trace->nr_entries < trace->max_entries) in save_stack_trace_tsk()
118 trace->entries[trace->nr_entries++] = ULONG_MAX; in save_stack_trace_tsk()
121 void save_stack_trace(struct stack_trace *trace) in save_stack_trace() argument
[all …]
Dftrace.c116 struct ftrace_graph_ent trace; in prepare_ftrace_return() local
130 trace.func = self_addr; in prepare_ftrace_return()
131 trace.depth = current->curr_ret_stack + 1; in prepare_ftrace_return()
134 if (!ftrace_graph_entry(&trace)) { in prepare_ftrace_return()
139 err = ftrace_push_return_trace(old, self_addr, &trace.depth, in prepare_ftrace_return()
Dtrace-events-emulation.h34 #define TRACE_INCLUDE_FILE trace-events-emulation
/linux-4.4.14/arch/um/kernel/
Dstacktrace.c49 struct stack_trace *trace = data; in save_addr() local
53 if (trace->nr_entries >= trace->max_entries) in save_addr()
56 trace->entries[trace->nr_entries++] = address; in save_addr()
63 static void __save_stack_trace(struct task_struct *tsk, struct stack_trace *trace) in __save_stack_trace() argument
65 dump_trace(tsk, &dump_ops, trace); in __save_stack_trace()
66 if (trace->nr_entries < trace->max_entries) in __save_stack_trace()
67 trace->entries[trace->nr_entries++] = ULONG_MAX; in __save_stack_trace()
70 void save_stack_trace(struct stack_trace *trace) in save_stack_trace() argument
72 __save_stack_trace(current, trace); in save_stack_trace()
76 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk() argument
[all …]
/linux-4.4.14/arch/unicore32/kernel/
Dstacktrace.c74 struct stack_trace *trace; member
82 struct stack_trace *trace = data->trace; in save_trace() local
92 trace->entries[trace->nr_entries++] = addr; in save_trace()
94 return trace->nr_entries >= trace->max_entries; in save_trace()
97 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk() argument
102 data.trace = trace; in save_stack_trace_tsk()
103 data.skip = trace->skip; in save_stack_trace_tsk()
122 if (trace->nr_entries < trace->max_entries) in save_stack_trace_tsk()
123 trace->entries[trace->nr_entries++] = ULONG_MAX; in save_stack_trace_tsk()
126 void save_stack_trace(struct stack_trace *trace) in save_stack_trace() argument
[all …]
/linux-4.4.14/include/linux/
Dstacktrace.h16 extern void save_stack_trace(struct stack_trace *trace);
18 struct stack_trace *trace);
20 struct stack_trace *trace);
22 extern void print_stack_trace(struct stack_trace *trace, int spaces);
24 struct stack_trace *trace, int spaces);
27 extern void save_stack_trace_user(struct stack_trace *trace);
29 # define save_stack_trace_user(trace) do { } while (0) argument
33 # define save_stack_trace(trace) do { } while (0) argument
34 # define save_stack_trace_tsk(tsk, trace) do { } while (0) argument
35 # define save_stack_trace_user(trace) do { } while (0) argument
[all …]
Dftrace.h866 set_bit(TSK_TRACE_FL_TRACE_BIT, &tsk->trace); in set_tsk_trace_trace()
871 clear_bit(TSK_TRACE_FL_TRACE_BIT, &tsk->trace); in clear_tsk_trace_trace()
876 return tsk->trace & TSK_TRACE_FL_TRACE; in test_tsk_trace_trace()
881 set_bit(TSK_TRACE_FL_GRAPH_BIT, &tsk->trace); in set_tsk_trace_graph()
886 clear_bit(TSK_TRACE_FL_GRAPH_BIT, &tsk->trace); in clear_tsk_trace_graph()
891 return tsk->trace & TSK_TRACE_FL_GRAPH; in test_tsk_trace_graph()
/linux-4.4.14/arch/sparc/kernel/
Dstacktrace.c12 struct stack_trace *trace, in __save_stack_trace() argument
53 if (trace->skip > 0) in __save_stack_trace()
54 trace->skip--; in __save_stack_trace()
56 trace->entries[trace->nr_entries++] = pc; in __save_stack_trace()
62 if (trace->nr_entries < in __save_stack_trace()
63 trace->max_entries) in __save_stack_trace()
64 trace->entries[trace->nr_entries++] = pc; in __save_stack_trace()
70 } while (trace->nr_entries < trace->max_entries); in __save_stack_trace()
73 void save_stack_trace(struct stack_trace *trace) in save_stack_trace() argument
75 __save_stack_trace(current_thread_info(), trace, false); in save_stack_trace()
[all …]
Dftrace.c128 struct ftrace_graph_ent trace; in prepare_ftrace_return() local
133 if (ftrace_push_return_trace(parent, self_addr, &trace.depth, in prepare_ftrace_return()
137 trace.func = self_addr; in prepare_ftrace_return()
140 if (!ftrace_graph_entry(&trace)) { in prepare_ftrace_return()
/linux-4.4.14/arch/metag/kernel/
Dstacktrace.c119 struct stack_trace *trace; member
127 struct stack_trace *trace = data->trace; in save_trace() local
137 trace->entries[trace->nr_entries++] = addr; in save_trace()
139 return trace->nr_entries >= trace->max_entries; in save_trace()
142 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk() argument
147 data.trace = trace; in save_stack_trace_tsk()
148 data.skip = trace->skip; in save_stack_trace_tsk()
157 if (trace->nr_entries < trace->max_entries) in save_stack_trace_tsk()
158 trace->entries[trace->nr_entries++] = ULONG_MAX; in save_stack_trace_tsk()
178 if (trace->nr_entries < trace->max_entries) in save_stack_trace_tsk()
[all …]
/linux-4.4.14/arch/powerpc/kernel/
Dstacktrace.c22 static void save_context_stack(struct stack_trace *trace, unsigned long sp, in save_context_stack() argument
36 if (!trace->skip) in save_context_stack()
37 trace->entries[trace->nr_entries++] = ip; in save_context_stack()
39 trace->skip--; in save_context_stack()
42 if (trace->nr_entries >= trace->max_entries) in save_context_stack()
49 void save_stack_trace(struct stack_trace *trace) in save_stack_trace() argument
55 save_context_stack(trace, sp, current, 1); in save_stack_trace()
59 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk() argument
61 save_context_stack(trace, tsk->thread.ksp, tsk, 0); in save_stack_trace_tsk()
Dftrace.c519 struct ftrace_graph_ent trace; in prepare_ftrace_return() local
530 trace.func = ip; in prepare_ftrace_return()
531 trace.depth = current->curr_ret_stack + 1; in prepare_ftrace_return()
534 if (!ftrace_graph_entry(&trace)) in prepare_ftrace_return()
537 if (ftrace_push_return_trace(parent, ip, &trace.depth, 0) == -EBUSY) in prepare_ftrace_return()
/linux-4.4.14/arch/arc/kernel/
Dstacktrace.c175 struct stack_trace *trace = arg; in __collect_all() local
177 if (trace->skip > 0) in __collect_all()
178 trace->skip--; in __collect_all()
180 trace->entries[trace->nr_entries++] = address; in __collect_all()
182 if (trace->nr_entries >= trace->max_entries) in __collect_all()
190 struct stack_trace *trace = arg; in __collect_all_but_sched() local
195 if (trace->skip > 0) in __collect_all_but_sched()
196 trace->skip--; in __collect_all_but_sched()
198 trace->entries[trace->nr_entries++] = address; in __collect_all_but_sched()
200 if (trace->nr_entries >= trace->max_entries) in __collect_all_but_sched()
[all …]
/linux-4.4.14/arch/microblaze/kernel/
Dunwind.c156 struct stack_trace *trace);
164 unsigned long fp, struct stack_trace *trace) in unwind_trap() argument
170 unsigned long fp, struct stack_trace *trace) in unwind_trap() argument
173 microblaze_unwind_inner(task, regs->pc, regs->r1, regs->r15, trace); in unwind_trap()
190 struct stack_trace *trace) in microblaze_unwind_inner() argument
220 regs->r15, trace); in microblaze_unwind_inner()
229 if (!trace) in microblaze_unwind_inner()
231 unwind_trap(task, pc, fp, trace); in microblaze_unwind_inner()
237 if (trace) { in microblaze_unwind_inner()
239 if (trace->skip > 0) 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()
Dftrace.c26 struct ftrace_graph_ent trace; in prepare_ftrace_return() local
66 err = ftrace_push_return_trace(old, self_addr, &trace.depth, 0); in prepare_ftrace_return()
72 trace.func = self_addr; in prepare_ftrace_return()
74 if (!ftrace_graph_entry(&trace)) { in prepare_ftrace_return()
/linux-4.4.14/kernel/trace/
Dtrace_selftest.c95 static inline void warn_failed_init_tracer(struct tracer *trace, int init_ret) in warn_failed_init_tracer() argument
98 trace->name, init_ret); in warn_failed_init_tracer()
323 static int trace_selftest_startup_dynamic_tracing(struct tracer *trace, in trace_selftest_startup_dynamic_tracing() argument
353 ret = tracer_init(trace, tr); in trace_selftest_startup_dynamic_tracing()
355 warn_failed_init_tracer(trace, ret); in trace_selftest_startup_dynamic_tracing()
391 trace->reset(tr); in trace_selftest_startup_dynamic_tracing()
399 trace->reset(tr); in trace_selftest_startup_dynamic_tracing()
534 # define trace_selftest_startup_dynamic_tracing(trace, tr, func) ({ 0; }) argument
651 trace_selftest_startup_function(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_function() argument
670 ret = tracer_init(trace, tr); in trace_selftest_startup_function()
[all …]
Dtrace_functions_graph.c181 ftrace_pop_return_trace(struct ftrace_graph_ret *trace, unsigned long *ret, in ftrace_pop_return_trace() argument
235 trace->func = current->ret_stack[index].func; in ftrace_pop_return_trace()
236 trace->calltime = current->ret_stack[index].calltime; in ftrace_pop_return_trace()
237 trace->overrun = atomic_read(&current->trace_overrun); in ftrace_pop_return_trace()
238 trace->depth = index; in ftrace_pop_return_trace()
247 struct ftrace_graph_ret trace; in ftrace_return_to_handler() local
250 ftrace_pop_return_trace(&trace, &ret, frame_pointer); in ftrace_return_to_handler()
251 trace.rettime = trace_clock_local(); in ftrace_return_to_handler()
269 ftrace_graph_return(&trace); in ftrace_return_to_handler()
282 struct ftrace_graph_ent *trace, in __trace_graph_entry() argument
[all …]
Dtrace_syscalls.c116 struct syscall_trace_enter *trace; in print_syscall_enter() local
120 trace = (typeof(trace))ent; in print_syscall_enter()
121 syscall = trace->nr; in print_syscall_enter()
145 trace->args[i], in print_syscall_enter()
162 struct syscall_trace_exit *trace; in print_syscall_exit() local
166 trace = (typeof(trace))ent; in print_syscall_exit()
167 syscall = trace->nr; in print_syscall_exit()
181 trace->ret); in print_syscall_exit()
190 sizeof(type) != sizeof(trace.name) ? \
192 #type, #name, offsetof(typeof(trace), name), \
[all …]
Dtrace_irqsoff.c170 static int irqsoff_graph_entry(struct ftrace_graph_ent *trace) in irqsoff_graph_entry() argument
182 ret = __trace_graph_entry(tr, trace, flags, pc); in irqsoff_graph_entry()
188 static void irqsoff_graph_return(struct ftrace_graph_ret *trace) in irqsoff_graph_return() argument
199 __trace_graph_return(tr, trace, flags, pc); in irqsoff_graph_return()
258 static int irqsoff_graph_entry(struct ftrace_graph_ent *trace) in irqsoff_graph_entry() argument
273 static void irqsoff_graph_return(struct ftrace_graph_ret *trace) { } in irqsoff_graph_return() argument
692 # define register_irqsoff(trace) register_tracer(&trace) argument
694 # define register_irqsoff(trace) do { } while (0) argument
724 # define register_preemptoff(trace) register_tracer(&trace) argument
726 # define register_preemptoff(trace) do { } while (0) argument
[all …]
Dtrace_stat.c302 int register_stat_tracer(struct tracer_stat *trace) in register_stat_tracer() argument
307 if (!trace) in register_stat_tracer()
310 if (!trace->stat_start || !trace->stat_next || !trace->stat_show) in register_stat_tracer()
316 if (node->ts == trace) { in register_stat_tracer()
328 session->ts = trace; in register_stat_tracer()
346 void unregister_stat_tracer(struct tracer_stat *trace) in unregister_stat_tracer() argument
352 if (node->ts == trace) { in unregister_stat_tracer()
Dtrace_stat.h15 void *(*stat_start)(struct tracer_stat *trace);
30 extern int register_stat_tracer(struct tracer_stat *trace);
31 extern void unregister_stat_tracer(struct tracer_stat *trace);
DKconfig15 See Documentation/trace/ftrace-design.txt
20 See Documentation/trace/ftrace-design.txt
25 See Documentation/trace/ftrace-design.txt
30 See Documentation/trace/ftrace-design.txt
35 See Documentation/trace/ftrace-design.txt
43 See Documentation/trace/ftrace-design.txt
48 See Documentation/trace/ftrace-design.txt
142 Enable the kernel to trace every kernel function. This is done
157 Enable the kernel to trace a function at both its return
159 Its first purpose is to trace the duration of functions and
[all …]
Dtrace.h402 int (*selftest)(struct tracer *trace,
612 void trace_graph_return(struct ftrace_graph_ret *trace);
613 int trace_graph_entry(struct ftrace_graph_ent *trace);
672 extern int trace_selftest_startup_function(struct tracer *trace,
674 extern int trace_selftest_startup_function_graph(struct tracer *trace,
676 extern int trace_selftest_startup_irqsoff(struct tracer *trace,
678 extern int trace_selftest_startup_preemptoff(struct tracer *trace,
680 extern int trace_selftest_startup_preemptirqsoff(struct tracer *trace,
682 extern int trace_selftest_startup_wakeup(struct tracer *trace,
684 extern int trace_selftest_startup_nop(struct tracer *trace,
[all …]
Dtrace.c1805 struct stack_trace trace; in __ftrace_trace_stack() local
1809 trace.nr_entries = 0; in __ftrace_trace_stack()
1810 trace.skip = skip; in __ftrace_trace_stack()
1830 trace.entries = this_cpu_ptr(ftrace_stack.calls); in __ftrace_trace_stack()
1831 trace.max_entries = FTRACE_STACK_MAX_ENTRIES; in __ftrace_trace_stack()
1834 save_stack_trace_regs(regs, &trace); in __ftrace_trace_stack()
1836 save_stack_trace(&trace); in __ftrace_trace_stack()
1838 if (trace.nr_entries > size) in __ftrace_trace_stack()
1839 size = trace.nr_entries; in __ftrace_trace_stack()
1855 memcpy(&entry->caller, trace.entries, in __ftrace_trace_stack()
[all …]
Dtrace_sched_wakeup.c54 static int wakeup_graph_entry(struct ftrace_graph_ent *trace);
55 static void wakeup_graph_return(struct ftrace_graph_ret *trace);
235 static int wakeup_graph_entry(struct ftrace_graph_ent *trace) in wakeup_graph_entry() argument
246 ret = __trace_graph_entry(tr, trace, flags, pc); in wakeup_graph_entry()
253 static void wakeup_graph_return(struct ftrace_graph_ret *trace) in wakeup_graph_return() argument
264 __trace_graph_return(tr, trace, flags, pc); in wakeup_graph_return()
329 static int wakeup_graph_entry(struct ftrace_graph_ent *trace) in wakeup_graph_entry() argument
333 static void wakeup_graph_return(struct ftrace_graph_ret *trace) { } in wakeup_graph_return() argument
Dtrace_output.c716 if (event->funcs->trace == NULL) in register_trace_event()
717 event->funcs->trace = trace_nop_print; in register_trace_event()
837 .trace = trace_fn_trace,
977 .trace = trace_ctx_print,
989 .trace = trace_wake_print,
1029 .trace = trace_stack_print,
1089 .trace = trace_user_stack_print,
1132 .trace = trace_bputs_print,
1176 .trace = trace_bprint_print,
1213 .trace = trace_print_print,
Dtrace_branch.c163 .trace = trace_branch_print,
274 static void *annotated_branch_stat_start(struct tracer_stat *trace) in annotated_branch_stat_start() argument
364 static void *all_branch_stat_start(struct tracer_stat *trace) in all_branch_stat_start() argument
/linux-4.4.14/arch/ia64/kernel/
Dstacktrace.c14 struct stack_trace *trace = arg; in ia64_do_save_stack() local
16 int skip = trace->skip; in ia64_do_save_stack()
18 trace->nr_entries = 0; in ia64_do_save_stack()
24 trace->entries[trace->nr_entries++] = ip; in ia64_do_save_stack()
25 if (trace->nr_entries == trace->max_entries) in ia64_do_save_stack()
35 void save_stack_trace(struct stack_trace *trace) in save_stack_trace() argument
37 unw_init_running(ia64_do_save_stack, trace); in save_stack_trace()
/linux-4.4.14/arch/x86/mm/
Dmmio-mod.c150 struct remap_trace *trace = p->private; in pre() local
162 my_trace->phys = addr - trace->probe.addr + trace->phys; in pre()
163 my_trace->map_id = trace->id; in pre()
238 struct remap_trace *trace = kmalloc(sizeof(*trace), GFP_KERNEL); in ioremap_trace_core() local
247 if (!trace) { in ioremap_trace_core()
252 *trace = (struct remap_trace) { in ioremap_trace_core()
258 .private = trace in ioremap_trace_core()
263 map.map_id = trace->id; in ioremap_trace_core()
267 kfree(trace); in ioremap_trace_core()
272 list_add_tail(&trace->list, &trace_list); in ioremap_trace_core()
[all …]
DMakefile9 CFLAGS_fault.o := -I$(src)/../include/asm/trace
/linux-4.4.14/kernel/
Dstacktrace.c14 void print_stack_trace(struct stack_trace *trace, int spaces) in print_stack_trace() argument
18 if (WARN_ON(!trace->entries)) in print_stack_trace()
21 for (i = 0; i < trace->nr_entries; i++) { in print_stack_trace()
23 print_ip_sym(trace->entries[i]); in print_stack_trace()
29 struct stack_trace *trace, int spaces) in snprint_stack_trace() argument
36 if (WARN_ON(!trace->entries)) in snprint_stack_trace()
39 for (i = 0; i < trace->nr_entries; i++) { in snprint_stack_trace()
40 ip = trace->entries[i]; in snprint_stack_trace()
66 save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk() argument
72 save_stack_trace_regs(struct pt_regs *regs, struct stack_trace *trace) in save_stack_trace_regs() argument
Dbacktracetest.c51 struct stack_trace trace; in backtrace_test_saved() local
57 trace.nr_entries = 0; in backtrace_test_saved()
58 trace.max_entries = ARRAY_SIZE(entries); in backtrace_test_saved()
59 trace.entries = entries; in backtrace_test_saved()
60 trace.skip = 0; in backtrace_test_saved()
62 save_stack_trace(&trace); in backtrace_test_saved()
63 print_stack_trace(&trace, 0); in backtrace_test_saved()
Dlatencytop.c148 struct stack_trace trace; in store_stacktrace() local
150 memset(&trace, 0, sizeof(trace)); in store_stacktrace()
151 trace.max_entries = LT_BACKTRACEDEPTH; in store_stacktrace()
152 trace.entries = &lat->backtrace[0]; in store_stacktrace()
153 save_stack_trace_tsk(tsk, &trace); in store_stacktrace()
DMakefile86 obj-$(CONFIG_FUNCTION_TRACER) += trace/
87 obj-$(CONFIG_TRACING) += trace/
88 obj-$(CONFIG_TRACE_CLOCK) += trace/
89 obj-$(CONFIG_RING_BUFFER) += trace/
90 obj-$(CONFIG_TRACEPOINTS) += trace/
Dfork.c1248 int trace, in copy_process() argument
1574 ptrace_init_task(p, (clone_flags & CLONE_PTRACE) || trace); in copy_process()
1701 int trace = 0; in _do_fork() local
1712 trace = PTRACE_EVENT_VFORK; in _do_fork()
1714 trace = PTRACE_EVENT_CLONE; in _do_fork()
1716 trace = PTRACE_EVENT_FORK; in _do_fork()
1718 if (likely(!ptrace_event_enabled(current, trace))) in _do_fork()
1719 trace = 0; in _do_fork()
1723 child_tidptr, NULL, trace, tls); in _do_fork()
1749 if (unlikely(trace)) in _do_fork()
[all …]
/linux-4.4.14/drivers/usb/host/
Dimx21-dbg.c134 struct debug_isoc_trace *trace = &imx21->isoc_trace[ in debug_isoc_submitted() local
138 trace->schedule_frame = td->frame; in debug_isoc_submitted()
139 trace->submit_frame = frame; in debug_isoc_submitted()
140 trace->request_len = td->len; in debug_isoc_submitted()
141 trace->td = td; in debug_isoc_submitted()
147 struct debug_isoc_trace *trace, *trace_failed; in debug_isoc_completed() local
151 trace = imx21->isoc_trace; in debug_isoc_completed()
152 for (i = 0; i < ARRAY_SIZE(imx21->isoc_trace); i++, trace++) { in debug_isoc_completed()
153 if (trace->td == td) { in debug_isoc_completed()
154 trace->done_frame = frame; in debug_isoc_completed()
[all …]
DMakefile6 CFLAGS_xhci-trace.o := -I$(src)
15 xhci-hcd-y += xhci-trace.o
/linux-4.4.14/tools/lib/lockdep/uinclude/linux/
Dstacktrace.h12 static inline void print_stack_trace(struct stack_trace *trace, int spaces) in print_stack_trace() argument
14 backtrace_symbols_fd((void **)trace->entries, trace->nr_entries, 1); in print_stack_trace()
17 #define save_stack_trace(trace) \ argument
18 ((trace)->nr_entries = \
19 backtrace((void **)(trace)->entries, (trace)->max_entries))
/linux-4.4.14/arch/x86/mm/kmemcheck/
Derror.c35 struct stack_trace trace; member
136 print_stack_trace(&e->trace, 0); in kmemcheck_error_recall()
184 e->trace.nr_entries = 0; in kmemcheck_error_save()
185 e->trace.entries = e->trace_entries; in kmemcheck_error_save()
186 e->trace.max_entries = ARRAY_SIZE(e->trace_entries); in kmemcheck_error_save()
187 e->trace.skip = 0; in kmemcheck_error_save()
188 save_stack_trace_regs(regs, &e->trace); in kmemcheck_error_save()
220 e->trace.nr_entries = 0; in kmemcheck_error_save_bug()
221 e->trace.entries = e->trace_entries; in kmemcheck_error_save_bug()
222 e->trace.max_entries = ARRAY_SIZE(e->trace_entries); in kmemcheck_error_save_bug()
[all …]
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dinit.c48 #define trace(fmt, args...) bioslog(TRACE, fmt, ##args) macro
322 trace("auxch read failed with %d\n", ret); in init_rdauxr()
335 trace("auxch write failed with %d\n", ret); in init_wrauxr()
485 trace("\t[0x%02x] (R[0x%06x] & 0x%08x) == 0x%08x\n", in init_condition_met()
502 trace("\t[0x%02x] (0x%04x[0x%02x] & 0x%02x) == 0x%02x\n", in init_io_condition_met()
595 trace("RESERVED 0x%02x\t", opcode); in init_reserved()
609 trace("DONE\n"); in init_done()
629 trace("IO_RESTRICT_PROG\tR[0x%06x] = " in init_io_restrict_prog()
639 trace("\t0x%08x *\n", data); in init_io_restrict_prog()
642 trace("\t0x%08x\n", data); in init_io_restrict_prog()
[all …]
/linux-4.4.14/arch/avr32/kernel/
Dstacktrace.c25 void save_stack_trace(struct stack_trace *trace) in save_stack_trace() argument
30 int skip = trace->skip; in save_stack_trace()
42 trace->entries[trace->nr_entries++] = frame->lr; in save_stack_trace()
43 if (trace->nr_entries >= trace->max_entries) in save_stack_trace()
/linux-4.4.14/arch/hexagon/kernel/
Dstacktrace.c36 void save_stack_trace(struct stack_trace *trace) in save_stack_trace() argument
41 int skip = trace->skip; in save_stack_trace()
53 trace->entries[trace->nr_entries++] = frame->rets; in save_stack_trace()
54 if (trace->nr_entries >= trace->max_entries) in save_stack_trace()
/linux-4.4.14/arch/blackfin/kernel/
Dstacktrace.c23 void save_stack_trace(struct stack_trace *trace) in save_stack_trace() argument
28 int skip = trace->skip; in save_stack_trace()
40 trace->entries[trace->nr_entries++] = frame->rets; in save_stack_trace()
41 if (trace->nr_entries >= trace->max_entries) in save_stack_trace()
Dftrace.c103 struct ftrace_graph_ent trace; in prepare_ftrace_return() local
109 if (ftrace_push_return_trace(*parent, self_addr, &trace.depth, in prepare_ftrace_return()
113 trace.func = self_addr; in prepare_ftrace_return()
116 if (!ftrace_graph_entry(&trace)) { in prepare_ftrace_return()
DMakefile35 obj-$(CONFIG_DEBUG_VERBOSE) += trace.o
/linux-4.4.14/arch/xtensa/kernel/
Dstacktrace.c216 struct stack_trace *trace; member
223 struct stack_trace *trace = trace_data->trace; in stack_trace_cb() local
232 trace->entries[trace->nr_entries++] = frame->pc; in stack_trace_cb()
233 return trace->nr_entries >= trace->max_entries; in stack_trace_cb()
236 void save_stack_trace_tsk(struct task_struct *task, struct stack_trace *trace) in save_stack_trace_tsk() argument
239 .trace = trace, in save_stack_trace_tsk()
240 .skip = trace->skip, in save_stack_trace_tsk()
246 void save_stack_trace(struct stack_trace *trace) in save_stack_trace() argument
248 save_stack_trace_tsk(current, trace); in save_stack_trace()
/linux-4.4.14/tools/testing/selftests/ftrace/test.d/ftrace/
Dfunc_profiler.tc57 if grep -v -e '^#' -e 'schedule' trace; then
62 if ! grep -e 'schedule' trace > /dev/null; then
63 cat trace
73 if ! grep -v -e '^#' -e 'schedule' trace > /dev/null; then
74 cat trace
Dfgraph-filter-stack.tc61 count=`cat trace | grep '()' | grep -v schedule | wc -l`
68 count=`cat trace | grep 'schedule()' | wc -l`
78 count=`cat trace | grep '()' | grep -v schedule | wc -l`
84 count=`cat trace | grep 'schedule()' | wc -l`
Dfgraph-filter.tc39 count=`cat trace | grep '()' | grep -v schedule | wc -l`
45 count=`cat trace | grep 'schedule()' | wc -l`
/linux-4.4.14/drivers/s390/net/
Dlcs.c412 LCS_DBF_TEXT_(4, trace, " %02x%02x%02x", in lcs_do_start_thread()
497 LCS_DBF_TEXT_(4, trace,"ssch%s", dev_name(&channel->ccwdev->dev)); in lcs_start_channel()
506 LCS_DBF_TEXT_(4,trace,"essh%s", in lcs_start_channel()
521 LCS_DBF_TEXT(4,trace,"clearch"); in lcs_clear_channel()
522 LCS_DBF_TEXT_(4, trace, "%s", dev_name(&channel->ccwdev->dev)); in lcs_clear_channel()
527 LCS_DBF_TEXT_(4, trace, "ecsc%s", in lcs_clear_channel()
548 LCS_DBF_TEXT(4,trace,"haltsch"); in lcs_stop_channel()
549 LCS_DBF_TEXT_(4, trace, "%s", dev_name(&channel->ccwdev->dev)); in lcs_stop_channel()
555 LCS_DBF_TEXT_(4, trace, "ehsc%s", in lcs_stop_channel()
573 LCS_DBF_TEXT(2, trace, "chstart"); in lcs_start_channels()
[all …]
Dnetiucv.c692 IUCV_DBF_TEXT(trace, 4, __func__); in conn_action_rx()
736 IUCV_DBF_TEXT(trace, 4, __func__); in conn_action_txdone()
820 IUCV_DBF_TEXT(trace, 3, __func__); in conn_action_connaccept()
840 IUCV_DBF_TEXT(trace, 3, __func__); in conn_action_connreject()
850 IUCV_DBF_TEXT(trace, 3, __func__); in conn_action_connack()
861 IUCV_DBF_TEXT(trace, 3, __func__); in conn_action_conntimsev()
873 IUCV_DBF_TEXT(trace, 3, __func__); in conn_action_connsever()
892 IUCV_DBF_TEXT(trace, 3, __func__); in conn_action_start()
975 IUCV_DBF_TEXT(trace, 3, __func__); in conn_action_stop()
981 IUCV_DBF_TEXT(trace, 5, "calling iucv_path_sever\n"); in conn_action_stop()
[all …]
/linux-4.4.14/arch/tile/kernel/
Dstack.c476 struct stack_trace *trace) in save_stack_trace_common() argument
479 int skip = trace->skip; in save_stack_trace_common()
497 if (i >= trace->max_entries || in save_stack_trace_common()
500 trace->entries[i++] = kbt.it.pc; in save_stack_trace_common()
504 if (i < trace->max_entries) in save_stack_trace_common()
505 trace->entries[i++] = ULONG_MAX; in save_stack_trace_common()
506 trace->nr_entries = i; in save_stack_trace_common()
509 void save_stack_trace_tsk(struct task_struct *task, struct stack_trace *trace) in save_stack_trace_tsk() argument
511 save_stack_trace_common(task, NULL, false, trace); in save_stack_trace_tsk()
515 void save_stack_trace(struct stack_trace *trace) in save_stack_trace() argument
[all …]
Dftrace.c185 struct ftrace_graph_ent trace; in prepare_ftrace_return() local
195 err = ftrace_push_return_trace(old, self_addr, &trace.depth, in prepare_ftrace_return()
202 trace.func = self_addr; in prepare_ftrace_return()
205 if (!ftrace_graph_entry(&trace)) { in prepare_ftrace_return()
/linux-4.4.14/tools/testing/selftests/ftrace/test.d/
Dfunctions2 clear_trace() { # reset trace output
3 echo > trace
6 disable_tracing() { # stop trace recording
10 enable_tracing() { # start trace recording
/linux-4.4.14/Documentation/trace/
Dintel_th.txt8 switch and output trace data from multiple hardware and software
9 sources over several types of trace output ports encoded in System
14 It consists of trace sources, trace destinations (outputs) and a
20 - Software Trace Hub (STH), trace source, which is a System Trace
22 - Memory Storage Unit (MSU), trace output, which allows storing
23 trace hub output in system memory,
24 - Parallel Trace Interface output (PTI), trace output to an external
31 notable of them is "active", which enables or disables trace output
39 to userspace and kernelspace software trace sources. See
42 MSU can be configured to collect trace data into a system memory
[all …]
Dstm.txt5 STP trace stream generator. STP (System Trace Protocol) is a trace
6 protocol multiplexing data from multiple trace sources, each one of
9 hardware trace sources, others are available to software. Software
10 trace sources are usually free to pick for themselves any
13 On the receiving end of this STP stream (the decoder side), trace
15 order for the decoder to be able to make sense of the trace that
16 involves multiple trace sources, it needs to be able to map those
17 master/channel pairs to the trace sources that it understands.
27 process the trace data.
46 through 127 in it. Now, any producer (trace source) identifying itself
[all …]
Dftrace.txt89 This sets or displays whether writing to the trace
95 trace:
97 This file holds the output of the trace in a human
102 The output is the same as the "trace" file but this
105 retrieved. Unlike the "trace" file, this file is a
110 "trace" file is static, and if the tracer is not
124 trace option (also in trace_options). Options may also be set
132 This time is saved in this file. The max trace
133 will also be stored, and displayed by "trace".
134 A new max trace will only be recorded if the
[all …]
Dfunction-graph-fold.vim3 " To use, :source this file while viewing a function_graph trace, or use vim's
4 " -S option to load from the command-line together with a trace. You can then
12 " single-CPU trace (e.g. trace-cmd report --cpu 1).
Dmmiotrace.txt51 Check that the driver you are about to trace is not loaded.
56 Start storing the trace:
60 Load the driver you want to trace and use it. Mmiotrace will only catch MMIO
63 During tracing you can place comments (markers) into the trace by
65 This makes it easier to see which part of the (huge) trace corresponds to
79 events were lost, the trace is incomplete. You should enlarge the buffers and
88 If you are doing a trace for a driver project, e.g. Nouveau, you should also
93 and then send the .tar.gz file. The trace compresses considerably. Replace
104 an event that is recorded into the trace log. Note that ISA range mappings
114 read or written. These are stored to the trace log.
Devents.txt9 Tracepoints (see Documentation/trace/tracepoints.txt) can be used
104 Each trace event has a 'format' file associated with it that contains
106 be used to parse the binary trace stream, and is also the place to
122 where offset is the offset of the field in the trace record and size
157 the trace buffer, its fields are checked against the filter expression
159 'match' the filter will appear in the trace output, and an event whose
180 'format' files for trace events (see section 4).
255 effect) trace output. Only filters that reference just the common
302 Will only trace events for the current task.
314 examples would be enabling or disabling other trace events or invoking
[all …]
Dtracepoint-analysis.txt9 Tracepoints (see Documentation/trace/tracepoints.txt) can be used without
58 See Documentation/trace/events.txt for a proper description on how events
67 In SystemTap, tracepoints are accessible using the kernel.trace() function
73 probe kernel.trace("mm_page_alloc") {
113 Documentation/trace/ftrace.txt describes how to enable events on a per-thread
137 Documentation/trace/ftrace.txt covers in-depth how to filter events in
195 Documentation/trace/postprocess/trace-pagealloc-postprocess.pl is an example
196 script that can read trace_pipe from STDIN or a copy of a trace. When used
Dtracepoints.txt43 In include/trace/events/subsys.h :
60 #include <trace/define_trace.h>
64 #include <trace/events/subsys.h>
79 - eventname is the name of the event to trace.
Duprobetracer.txt9 Uprobe based trace events are similar to kprobe based trace events.
145 And you can see the traced information via /sys/kernel/debug/tracing/trace.
147 # cat trace
Dcoresight.txt79 To trace port TPIU= Trace Port Interface Unit
83 all trace data are carried out-of-band on the ATB bus. The CTM provides
100 STM: System trace Macrocell
196 Before trace collection can start, a coresight sink needs to be identify.
214 trigger a trace capture:
Devents-power.txt15 Cf. include/trace/events/power.h for the events definitions.
40 The event which has 'state=4294967295' in the trace is very important to the user
Dkprobetrace.txt69 probe and gives you what arguments will be shown in trace buffer. If an event
154 And you can see the traced information via /sys/kernel/debug/tracing/trace.
156 cat /sys/kernel/debug/tracing/trace
/linux-4.4.14/drivers/tty/serial/
Dicom.c139 static inline void trace(struct icom_port *icom_port, char *trace_pt, in trace() function
146 static inline void trace(struct icom_port *icom_port, char *trace_pt, unsigned long trace_data) {}; in trace() function
154 trace(icom_port, "RET_PORT_MEM", 0); in free_port_memory()
193 trace(icom_port, "GET_PORT_MEM", in get_port_memory()
203 trace(icom_port, "GET_PORT_MEM", in get_port_memory()
213 trace(icom_port, "GET_PORT_MEM", in get_port_memory()
233 trace(icom_port, "FOD_ADDR", stgAddr); in get_port_memory()
239 trace(icom_port, "FOD_ADDR", stgAddr); in get_port_memory()
240 trace(icom_port, "FOD_XBUFF", in get_port_memory()
248 trace(icom_port, "FOD_XBUFF", in get_port_memory()
[all …]
/linux-4.4.14/tools/perf/Documentation/
Dperf-script.txt6 perf-script - Read perf.data (created by perf record) and display trace output
19 This command reads the input file and displays the trace recorded.
23 'perf script' to see a detailed trace of the workload that was
27 summarize the raw trace data in various ways (the list of scripts is
39 trace --list' i.e. the actual script name minus any language
71 information on how to write and run your own trace scripts.
80 Display verbose dump of the trace data.
88 Display a list of available trace scripts.
92 Process trace data with the given script ([lang]:script[.ext]).
118 comm, tid, pid, time, cpu, event, trace, ip, sym, dso, addr, symoff,
[all …]
Dperf-trace.txt1 perf-trace(1)
6 perf-trace - strace inspired tool
11 'perf trace'
12 'perf trace record'
23 Alternatively, 'perf trace record' can be used as a shortcut to
26 The following options apply to perf trace; options to perf trace record are
59 Filter out events for these pids and for 'trace' itself (comma separated list).
131 When tracing pagefaults, the format of the trace is as follows:
137 fault); if no debug symbols available, perf trace will print raw IP;
147 When --verbose specified, perf trace tries to print all available information
[all …]
Dperf-sched.txt6 perf-sched - Tool to trace/measure scheduler properties (latencies)
23 'perf sched script' to see a detailed trace of the workload that
28 that mimic the workload based on the events in the trace. These
50 --dump-raw-trace=::
Dperf-script-perl.txt6 perf-script-perl - Process trace data with a Perl script
18 displays the results of the trace analysis implemented in the given
25 -g perl' in the same directory as an existing perf.data trace file.
27 the event types in the trace file; it simply prints every available
28 field for each event in the trace file.
39 When perf script is invoked using a trace script, a user-defined
40 'handler function' is called for each event in the trace. If there's
108 every event in a trace, which covers 90% of what you need to know to
109 write a useful trace script. The sections below cover the rest.
Dintel-pt.txt20 the trace data packets. For example a TNT packet only tells whether a
38 A limitation of Intel PT is that it produces huge amounts of trace data
52 Data is captured with 'perf record' e.g. to trace 'ls' userspace-only:
60 To also trace kernel space presents a problem, namely kernel self-modifying
100 perf script -Fcomm,tid,pid,time,cpu,event,trace,ip,sym,dso,addr,symoff,flags
103 system, asynchronous, interrupt, transaction abort, trace begin, trace end, and
255 trace bytes between PSB packets as:
371 The difference between full trace and snapshot from the kernel's perspective is
372 that in full trace we don't overwrite trace data that the user hasn't collected
374 the trace run and overwrite older data in the buffer so that whenever something
[all …]
Dperf-lock.txt42 --dump-raw-trace::
43 Dump raw trace in ASCII.
Dintel-bts.txt51 By default, perf script will decode trace data found in the perf.data file.
57 To disable trace decoding entirely, use the option --no-itrace.
75 By default, perf report will decode trace data found in the perf.data file.
Dperf-script-python.txt6 perf-script-python - Process trace data with a Python script
18 displays the results of the trace analysis implemented in the given
109 callback handler for each event type found in the perf.data trace
182 really interested in, or the script was run against a trace file that
186 event found in the trace stream i.e. it basically just dumps the event
209 trace event, but rather aggregating it in a useful way. So we'll get
269 displayed after all the events in the trace have been processed, by
325 detailed event and field info, record the corresponding trace data
338 List of available trace scripts:
403 List of available trace scripts:
[all …]
Dperf-annotate.txt43 --dump-raw-trace::
44 Dump raw trace in ASCII.
Dperf-timechart.txt22 'perf timechart' to turn a trace into a Scalable Vector Graphics file,
106 Written 10.2 seconds of trace to output.svg.
/linux-4.4.14/drivers/hwtracing/coresight/
DKconfig9 and trace drivers to register themselves with. It's intended to build
12 trace source gets enabled.
19 responsible for transporting and collecting the trace data
20 respectively. Link and sinks are dynamically aggregated with a trace
21 entity at run time to form a complete trace path.
29 trace router - ETR) or sink (embedded trace FIFO). The driver
39 components and a trace for bridging the gap between the on-chip
40 coresight components and a trace port collection engine, typically
77 programmable ATB replicator sends the ATB trace stream from the
/linux-4.4.14/drivers/hwtracing/intel_th/
DKconfig5 produce, switch and output trace data from multiple hardware and
6 software sources over several types of trace output ports encoded
41 Software Trace Hub (STH) enables trace data from software
42 trace sources to be sent out via Intel(R) Trace Hub. It
50 Memory Storage Unit (MSU) trace output device enables
60 Parallel Trace Interface unit (PTI) is a trace output device
61 of Intel TH architecture that facilitates STP trace output via
/linux-4.4.14/lib/
Dfault-inject.c68 struct stack_trace trace; in fail_stacktrace() local
77 trace.nr_entries = 0; in fail_stacktrace()
78 trace.entries = entries; in fail_stacktrace()
79 trace.max_entries = depth; in fail_stacktrace()
80 trace.skip = 1; in fail_stacktrace()
82 save_stack_trace(&trace); in fail_stacktrace()
83 for (n = 0; n < trace.nr_entries; n++) { in fail_stacktrace()
/linux-4.4.14/tools/testing/selftests/powerpc/pmu/ebb/
Dback_to_back_ebbs_test.c38 trace_log_counter(ebb_state.trace, ebb_state.stats.ebb_count); in ebb_callee()
53 trace_log_reg(ebb_state.trace, SPRN_SIAR, siar); in ebb_callee()
56 trace_log_reg(ebb_state.trace, SPRN_PMC1, val); in ebb_callee()
59 trace_log_reg(ebb_state.trace, SPRN_MMCR0, val); in ebb_callee()
Dcycles_with_freeze_test.c37 trace_log_counter(ebb_state.trace, ebb_state.stats.ebb_count); in ebb_callee()
40 trace_log_reg(ebb_state.trace, SPRN_MMCR0, val); in ebb_callee()
43 trace_log_string(ebb_state.trace, "frozen"); in ebb_callee()
Debb.c113 trace_log_counter(ebb_state.trace, ebb_state.stats.ebb_count); in standard_ebb_callee()
116 trace_log_reg(ebb_state.trace, SPRN_MMCR0, val); in standard_ebb_callee()
251 trace_buffer_print(ebb_state.trace); in dump_ebb_state()
268 trace_log_reg(ebb_state.trace, SPRN_PMC1 + pmc - 1, val); in count_pmc()
488 ebb_state.trace = trace_buffer_allocate(1 * 1024 * 1024); in ebb_init()
DMakefile21 $(TEST_PROGS): ../../harness.c ../event.c ../lib.c ebb.c ebb_handler.S trace.c busy_loop.S
Debb.h29 struct trace_buffer *trace; member
/linux-4.4.14/drivers/remoteproc/
Dremoteproc_debugfs.c50 struct rproc_mem_entry *trace = filp->private_data; in rproc_trace_read() local
51 int len = strnlen(trace->va, trace->len); in rproc_trace_read()
53 return simple_read_from_buffer(userbuf, count, ppos, trace->va, len); in rproc_trace_read()
199 struct rproc_mem_entry *trace) in rproc_create_trace_file() argument
204 trace, &trace_rproc_ops); in rproc_create_trace_file()
Dremoteproc_core.c410 struct rproc_mem_entry *trace; in rproc_handle_trace() local
433 trace = kzalloc(sizeof(*trace), GFP_KERNEL); in rproc_handle_trace()
434 if (!trace) in rproc_handle_trace()
438 trace->len = rsc->len; in rproc_handle_trace()
439 trace->va = ptr; in rproc_handle_trace()
445 trace->priv = rproc_create_trace_file(name, rproc, trace); in rproc_handle_trace()
446 if (!trace->priv) { in rproc_handle_trace()
447 trace->va = NULL; in rproc_handle_trace()
448 kfree(trace); in rproc_handle_trace()
452 list_add_tail(&trace->node, &rproc->traces); in rproc_handle_trace()
Dremoteproc_internal.h59 struct rproc_mem_entry *trace);
/linux-4.4.14/tools/testing/selftests/ftrace/test.d/event/
Dtoplevel-enable.tc31 count=`cat trace | grep -v ^# | wc -l`
42 count=`cat trace | grep -v ^# | wc -l`
53 count=`cat trace | grep -v ^# | wc -l`
Dsubsystem-enable.tc31 count=`cat trace | grep -v ^# | awk '{ print $5 }' | sort -u | wc -l`
42 count=`cat trace | grep -v ^# | awk '{ print $5 }' | sort -u | wc -l`
53 count=`cat trace | grep -v ^# | awk '{ print $5 }' | sort -u | wc -l`
Devent-enable.tc31 count=`cat trace | grep sched_switch | wc -l`
42 count=`cat trace | grep sched_switch | wc -l`
53 count=`cat trace | grep sched_switch | wc -l`
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-bus-intel_th-devices-pti12 Description: (RW) 0: PTI trace clock acts as a strobe which only toggles
13 when there is trace data to send. 1: PTI trace clock is a
Dsysfs-bus-coresight-devices-etm4x5 Description: (RW) Enable/disable tracing on this specific trace entiry.
83 Description: (W) Cancels all configuration on a trace unit and set it back
98 Description: (RW) Controls which PE to trace.
116 Description: (RW) Controls the insertion of global timestamps in the trace
123 Description: (RW) Controls how often trace synchronization requests occur.
142 Description: (RW) Controls instruction trace filtering.
169 Description: (RW) Controls what type of comparison the trace unit performs.
244 Description: (RW) Controls the selection of the resources in the trace unit.
366 Description: (R) Returns the tracing capabilities of the trace unit (0x1E0).
373 Description: (R) Returns the tracing capabilities of the trace unit (0x1E4).
[all …]
Dsysfs-bus-coresight-devices-etm3x5 Description: (RW) Enable/disable tracing on this specific trace entiry.
24 for example the access type, the kind of instruction to trace,
26 the access type register may vary on the version of the trace
119 Description: (RW) Defines which event triggers a trace.
141 various aspect of the trace entity such as time stamping,
150 on a trace unit, as specified by bit 3:0 of register ETMCCR.
156 Description: (R) Provides the number of counters accessible on a trace unit,
164 trace unit, as specified by bit 25:24 of register ETMCCR.
170 Description: (W) Cancels all configuration on a trace unit and set it back
225 Description: (RW) Holds the trace synchronization frequency value - must be
[all …]
Dsysfs-bus-intel_th-output-devices5 Description: (RW) Writes of 1 or 0 enable or disable trace output to this
Dsysfs-bus-coresight-devices-etb105 Description: (RW) Add/remove a sink from a trace path. There can be multiple
/linux-4.4.14/drivers/usb/dwc3/
Ddebug.c20 void dwc3_trace(void (*trace)(struct va_format *), const char *fmt, ...) in dwc3_trace()
29 trace(&vaf); in dwc3_trace()
DMakefile6 dwc3-y := core.o debug.o trace.o
Ddebug.h217 void dwc3_trace(void (*trace)(struct va_format *), const char *fmt, ...);
/linux-4.4.14/mm/
Dkmemleak.c167 unsigned long trace[MAX_TRACE]; member
265 unsigned long trace[MAX_TRACE]; /* stack trace */ member
368 void *ptr = (void *)object->trace[i]; in print_unreferenced()
380 struct stack_trace trace; in dump_object_info() local
382 trace.nr_entries = object->trace_len; in dump_object_info()
383 trace.entries = object->trace; in dump_object_info()
394 print_stack_trace(&trace, 4); in dump_object_info()
521 static int __save_stack_trace(unsigned long *trace) in __save_stack_trace() argument
527 stack_trace.entries = trace; in __save_stack_trace()
584 object->trace_len = __save_stack_trace(object->trace); in create_object()
[all …]
Dpage_owner.c63 struct stack_trace trace = { in __set_page_owner() local
70 save_stack_trace(&trace); in __set_page_owner()
74 page_ext->nr_entries = trace.nr_entries; in __set_page_owner()
93 struct stack_trace trace = { in print_page_owner() local
134 ret += snprint_stack_trace(kbuf + ret, count - ret, &trace, 0); in print_page_owner()
/linux-4.4.14/arch/blackfin/
DKconfig.debug120 The trace buffer can be configured to omit recording of changes in
123 the trace buffer from overflowing because of any sort of loop (for, do
126 Because zero-overhead Hardware loops are not recorded in the trace buffer,
127 this feature can be used to prevent trace overflow from loops that
133 The trace buffer records all changes of flow
138 The trace buffer does not record single loops - helpful if trace
144 The trace buffer does not record loops two levels deep. Helpful if
145 the trace is spinning in a nested loop
175 This sets the size of the software buffer that the trace information
189 quickly fill up the hardware trace buffer. When debugging crashes,
[all …]
/linux-4.4.14/tools/perf/util/scripting-engines/
DBuild1 libperf-$(CONFIG_LIBPERL) += trace-event-perl.o
2 libperf-$(CONFIG_LIBPYTHON) += trace-event-python.o
/linux-4.4.14/drivers/gpu/drm/i915/
Dintel_uncore.c647 trace_i915_reg_rw(false, reg, val, sizeof(val), trace); \
652 gen2_read##x(struct drm_i915_private *dev_priv, off_t reg, bool trace) { \
660 gen5_read##x(struct drm_i915_private *dev_priv, off_t reg, bool trace) { \
690 trace_i915_reg_rw(false, reg, val, sizeof(val), trace); \
719 vgpu_read##x(struct drm_i915_private *dev_priv, off_t reg, bool trace) { \
727 gen6_read##x(struct drm_i915_private *dev_priv, off_t reg, bool trace) { \
739 vlv_read##x(struct drm_i915_private *dev_priv, off_t reg, bool trace) { \
751 chv_read##x(struct drm_i915_private *dev_priv, off_t reg, bool trace) { \
769 gen9_read##x(struct drm_i915_private *dev_priv, off_t reg, bool trace) { \
820 trace_i915_reg_rw(true, reg, val, sizeof(val), trace); \
[all …]
/linux-4.4.14/arch/mips/include/asm/octeon/
Dcvmx-ciu-defs.h1294 uint64_t trace:1; member
1314 uint64_t trace:1;
1383 uint64_t trace:1; member
1403 uint64_t trace:1;
1422 uint64_t trace:1; member
1442 uint64_t trace:1;
1466 uint64_t trace:1; member
1486 uint64_t trace:1;
1515 uint64_t trace:1; member
1535 uint64_t trace:1;
[all …]
Dcvmx-ciu2-defs.h848 uint64_t trace:4; member
898 uint64_t trace:4;
906 uint64_t trace:4; member
952 uint64_t trace:4;
963 uint64_t trace:4; member
1013 uint64_t trace:4;
1021 uint64_t trace:4; member
1067 uint64_t trace:4;
1078 uint64_t trace:4; member
1128 uint64_t trace:4;
[all …]
/linux-4.4.14/drivers/net/ethernet/neterion/
DKconfig45 bool "Enabling All Debug trace statements in driver"
49 Say Y here if you want to enabling all the debug trace statements in
50 the vxge driver. By default only few debug trace statements are
/linux-4.4.14/drivers/misc/mei/
DMakefile25 mei-$(CONFIG_EVENT_TRACING) += mei-trace.o
26 CFLAGS_mei-trace.o = -I$(src)
Dmei-trace.h73 #define TRACE_INCLUDE_FILE mei-trace
/linux-4.4.14/Documentation/sysctl/
Dabi.txt20 - trace
51 trace:
/linux-4.4.14/drivers/media/usb/pwc/
Dphilips.txt183 trace
185 'trace' of some of the calls the module makes; it logs all items in your
188 The trace variable is a bitmask; each bit represents a certain feature.
189 If you want to trace something, look up the bit value(s) in the table
190 below, add the values together and supply that to the trace variable.
212 For example, to trace the open() & read() functions, sum 8 + 4 = 12,
213 so you would supply trace=12 during insmod or modprobe. If
214 you want to turn the initialization and probing tracing off, set trace=0.
215 The default value for trace is 35 (0x23).
223 The fbufs, mbufs and trace parameters are global and apply to all connected
/linux-4.4.14/drivers/hwtracing/stm/
DKconfig23 This is a kernel space trace source that sends kernel log
24 messages to trace hosts over STM devices.
/linux-4.4.14/tools/perf/util/
DBuild52 libperf-y += trace-event-parse.o
58 libperf-y += trace-event-read.o
59 libperf-y += trace-event-info.o
60 libperf-y += trace-event-scripting.o
61 libperf-y += trace-event.o
Dpython-ext-sources21 util/trace-event.c
/linux-4.4.14/arch/metag/
DKconfig.debug20 bool "Output Meta real-time trace data for function entry/exit"
22 If you say Y here the kernel will use the Meta hardware trace
/linux-4.4.14/drivers/media/v4l2-core/
DMakefile17 videodev-objs += vb2-trace.o v4l2-trace.o
/linux-4.4.14/drivers/usb/gadget/legacy/
Dwebcam.c37 static unsigned int trace; variable
38 module_param(trace, uint, S_IRUGO|S_IWUSR);
39 MODULE_PARM_DESC(trace, "Trace level bitmask");
386 uvc_set_trace_param(trace); in webcam_bind()
/linux-4.4.14/Documentation/power/
Ds2ram.txt47 which means that the last trace event was just before trying to resume
50 fix it, disable it, or trace into its resume function.
80 using this trace option.
83 quickly after the resume failure. The trace option does not use the seconds
/linux-4.4.14/kernel/locking/
Dlockdep.c392 static int save_trace(struct stack_trace *trace) in save_trace() argument
394 trace->nr_entries = 0; in save_trace()
395 trace->max_entries = MAX_STACK_TRACE_ENTRIES - nr_stack_trace_entries; in save_trace()
396 trace->entries = stack_trace + nr_stack_trace_entries; in save_trace()
398 trace->skip = 3; in save_trace()
400 save_stack_trace(trace); in save_trace()
409 if (trace->nr_entries != 0 && in save_trace()
410 trace->entries[trace->nr_entries-1] == ULONG_MAX) in save_trace()
411 trace->nr_entries--; in save_trace()
413 trace->max_entries = trace->nr_entries; in save_trace()
[all …]
/linux-4.4.14/arch/mips/sibyte/
DKconfig152 bool "Capture bus trace before bus error"
155 Run a continuous bus trace, dumping the raw data as soon as
157 is turned on, and also will interfere with JTAG-based trace
/linux-4.4.14/tools/testing/selftests/ftrace/test.d/00basic/
Dbasic1.tc3 test -f README -a -f trace -a -f tracing_on -a -f trace_pipe
/linux-4.4.14/samples/trace_events/
DMakefile14 obj-$(CONFIG_SAMPLE_TRACE_EVENTS) += trace-events-sample.o
Dtrace-events-sample.h25 #define TRACE_SYSTEM sample-trace
522 #define TRACE_INCLUDE_FILE trace-events-sample
/linux-4.4.14/arch/microblaze/include/asm/
Dunwind.h26 void microblaze_unwind(struct task_struct *task, struct stack_trace *trace);
/linux-4.4.14/drivers/staging/rts5208/
DMakefile6 rtsx_card.o general.o sd.o xd.o ms.o spi.o trace.o
/linux-4.4.14/net/mac802154/
DMakefile3 iface.o llsec.o util.o cfg.o trace.o
/linux-4.4.14/arch/s390/include/asm/trace/
Ddiag.h19 #define TRACE_INCLUDE_PATH asm/trace
/linux-4.4.14/drivers/net/wireless/mediatek/mt7601u/
DMakefile6 usb.o init.o main.o mcu.o trace.o dma.o core.o eeprom.o phy.o \
/linux-4.4.14/net/ieee802154/
DMakefile6 header_ops.o sysfs.o nl802154.o trace.o
/linux-4.4.14/drivers/md/bcache/
DMakefile5 io.o journal.o movinggc.o request.o stats.o super.o sysfs.o trace.o\
/linux-4.4.14/arch/mips/kvm/
Dtrace.h18 #define TRACE_INCLUDE_FILE trace
/linux-4.4.14/drivers/base/power/
DMakefile3 obj-$(CONFIG_PM_TRACE_RTC) += trace.o
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/
DKconfig50 example, can be enabled with help of trace-cmd. All debug
52 enablable trace points.
DMakefile40 ath6kl_core-$(CONFIG_ATH6KL_TRACING) += trace.o
/linux-4.4.14/drivers/misc/cxl/
DMakefile4 cxl-y += context.o sysfs.o debugfs.o pci.o trace.o
/linux-4.4.14/sound/hda/
DMakefile4 snd-hda-core-objs += trace.o
Dtrace.h87 #define TRACE_INCLUDE_FILE trace
/linux-4.4.14/drivers/net/ethernet/neterion/vxge/
Dvxge-main.h323 #define VXGE_COPY_DEBUG_INFO_TO_LL(vdev, err, trace) { \ argument
326 vdev->vpaths[i].level_trace = trace; \
329 vdev->level_trace = trace; \
/linux-4.4.14/drivers/usb/gadget/function/
Du_uvc.h86 void uvc_set_trace_param(unsigned int trace);
/linux-4.4.14/drivers/net/wireless/ath/
DMakefile20 ath-$(CONFIG_ATH_TRACEPOINTS) += trace.o
Dtrace.h68 #define TRACE_INCLUDE_FILE trace
/linux-4.4.14/fs/f2fs/
DMakefile9 f2fs-$(CONFIG_F2FS_IO_TRACE) += trace.o
DKconfig99 F2FS IO trace is based on a function trace, which gathers process
/linux-4.4.14/drivers/net/wireless/ath/wil6210/
DMakefile17 wil6210-$(CONFIG_WIL6210_TRACING) += trace.o
/linux-4.4.14/drivers/net/wireless/ath/ath10k/
DMakefile19 ath10k_core-$(CONFIG_ATH10K_TRACING) += trace.o
/linux-4.4.14/tools/lib/traceevent/
DBuild3 libtraceevent-y += trace-seq.o
/linux-4.4.14/drivers/media/pci/ivtv/
Divtvfb.c468 u32 trace; in ivtvfb_ioctl() local
474 trace = read_reg(IVTV_REG_DEC_LINE_FIELD) >> 16; in ivtvfb_ioctl()
475 if (itv->is_out_50hz && trace > 312) in ivtvfb_ioctl()
476 trace -= 312; in ivtvfb_ioctl()
477 else if (itv->is_out_60hz && trace > 262) in ivtvfb_ioctl()
478 trace -= 262; in ivtvfb_ioctl()
479 if (trace == 1) in ivtvfb_ioctl()
482 vblank.vcount = trace; in ivtvfb_ioctl()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dconn.h32 #define CONN_TRACE(c,f,a...) CONN_MSG((c), trace, f, ##a)
Doutp.h54 #define OUTP_TRACE(o,f,a...) OUTP_MSG((o), trace, f, ##a)
/linux-4.4.14/fs/nfsd/
DMakefile10 nfsd-y += trace.o
Dtrace.h55 #define TRACE_INCLUDE_FILE trace
/linux-4.4.14/drivers/md/persistent-data/
DKconfig11 bool "Keep stack trace of persistent data block lock holders"
/linux-4.4.14/include/uapi/linux/genwqe/
Dgenwqe_card.h54 #define GENWQE_EXTENDED_DIAG_SELECTOR(ring, trace) (((ring) << 8) | (trace)) argument
/linux-4.4.14/drivers/misc/genwqe/
Dcard_utils.c901 int i, traps, traces, trace, trace_entries, trace_entry, ring; in genwqe_ffdc_buff_read() local
958 for (trace = 0; trace <= traces; trace++) { in genwqe_ffdc_buff_read()
960 GENWQE_EXTENDED_DIAG_SELECTOR(ring, trace); in genwqe_ffdc_buff_read()
967 trace_entry < (trace ? trace_entries : traps); in genwqe_ffdc_buff_read()
/linux-4.4.14/Documentation/devicetree/bindings/powerpc/fsl/
Ddcsr.txt136 internal trace buffer. The NPC trace buffer is a small memory buffer
137 which stages the nexus trace data for transmission via the Aurora port
138 or to a DDR based trace buffer. In some configurations the NPC trace
139 buffer can be the only trace buffer used.
/linux-4.4.14/drivers/staging/rdma/hfi1/
DMakefile12 qp.o qsfp.o rc.o ruc.o sdma.o srq.o sysfs.o trace.o twsi.o \
/linux-4.4.14/virt/kvm/arm/
Dtrace.h60 #define TRACE_INCLUDE_FILE trace
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
Daux.h29 #define AUX_TRACE(b,f,a...) AUX_MSG((b), trace, f, ##a)
Dbus.h36 #define BUS_TRACE(b,f,a...) BUS_MSG((b), trace, f, ##a)
Dpad.h66 #define PAD_TRACE(p,f,a...) PAD_MSG((p), trace, f, ##a)
/linux-4.4.14/arch/x86/xen/
DMakefile18 obj-$(CONFIG_EVENT_TRACING) += trace.o
/linux-4.4.14/net/wireless/
DMakefile13 cfg80211-y += mlme.o ibss.o sme.o chan.o ethtool.o mesh.o ap.o trace.o ocb.o
/linux-4.4.14/Documentation/filesystems/caching/
Dfscache.txt430 0 1 Cache management Function entry trace
431 1 2 Function exit trace
433 3 8 Cookie management Function entry trace
434 4 16 Function exit trace
436 6 64 Page handling Function entry trace
437 7 128 Function exit trace
439 9 512 Operation management Function entry trace
440 10 1024 Function exit trace
/linux-4.4.14/drivers/staging/android/trace/
Dsync.h2 #define TRACE_INCLUDE_PATH ../../drivers/staging/android/trace
/linux-4.4.14/net/mac80211/
DMakefile31 trace.o mlme.o \
/linux-4.4.14/Documentation/networking/
Diphase.txt107 5.2 Turn on ia debug trace
110 can provide more debug trace if needed. There is a bit mask variable,
113 The debug trace can be turn on through the insmod command line option, for
/linux-4.4.14/Documentation/RCU/
D00-INDEX31 trace.txt
/linux-4.4.14/arch/sh/
DKconfig.debug55 This prints out a code trace of the instructions leading up to
83 bool "Debug: set SR.WATCH to enable hardware watchpoints and trace"
/linux-4.4.14/tools/testing/selftests/seccomp/
Dseccomp_bpf.c738 struct sock_fprog trace; in FIXTURE_DATA() local
785 FILTER_ALLOC(trace); in FIXTURE_SETUP()
795 FILTER_FREE(trace); in FIXTURE_TEARDOWN()
812 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &self->trace); in TEST_F()
836 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &self->trace); in TEST_F_SIGNAL()
867 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &self->trace); in TEST_F_SIGNAL()
888 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &self->trace); in TEST_F_SIGNAL()
913 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &self->trace); in TEST_F_SIGNAL()
934 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &self->trace); in TEST_F()
954 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &self->trace); in TEST_F()
[all …]
/linux-4.4.14/arch/x86/include/asm/trace/
Dmpx.h127 #define TRACE_INCLUDE_PATH asm/trace/
/linux-4.4.14/drivers/tty/
DKconfig341 The trace router uses the Linux tty line discipline framework to
342 route trace data coming from a tty port (say UART for example) to
343 the trace sink line discipline driver and to another tty port (say
357 The trace sink uses the Linux line discipline framework to receive
358 trace data coming from the trace router line discipline driver
360 This is to provide a way to extract modem trace data on
362 trace data to come out of a different HW output port.
/linux-4.4.14/include/trace/
Ddefine_trace.h72 # define __TRACE_INCLUDE(system) <trace/events/system.h>
/linux-4.4.14/Documentation/vm/
Dpage_owner.txt15 to enlarge the trace buffer for preventing overlapping until userspace
16 program launched. And, launched program continually dump out the trace
/linux-4.4.14/Documentation/devicetree/bindings/arm/
Dcoresight.txt5 SoCs tracing needs. These trace components can generally be classified as
59 (embedded trace router)
/linux-4.4.14/tools/vm/
Dslabinfo.c33 int sanity_checks, slab_size, store_user, trace; member
550 s->align, s->objs_per_slab, onoff(s->trace), in report()
607 if (s->trace) in slabcache()
753 if (tracing && !s->trace) { in slab_debug()
759 if (!tracing && s->trace) in slab_debug()
1223 slab->trace = get_obj("trace"); in read_slab_dir()
/linux-4.4.14/arch/powerpc/kvm/
Dtrace.h9 #define TRACE_INCLUDE_FILE trace

12