Home
last modified time | relevance | path

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

123456

/tools/perf/
Dbuiltin-trace.c117 struct trace { struct
1202 struct trace *trace) in thread__fd_path() argument
1206 if (ttrace == NULL || trace->fd_path_disabled) in thread__fd_path()
1213 if (!trace->live) in thread__fd_path()
1215 ++trace->stats.proc_getname; in thread__fd_path()
1227 const char *path = thread__fd_path(arg->thread, fd, arg->trace); in syscall_arg__scnprintf_fd()
1235 size_t pid__scnprintf_fd(struct trace *trace, pid_t pid, int fd, char *bf, size_t size) in pid__scnprintf_fd() argument
1238 struct thread *thread = machine__find_thread(trace->host, pid, pid); in pid__scnprintf_fd()
1241 const char *path = thread__fd_path(thread, fd, trace); in pid__scnprintf_fd()
1298 if (!arg->trace->vfs_getname) in syscall_arg__scnprintf_filename()
[all …]
/tools/testing/selftests/ftrace/test.d/kprobe/
Dkprobe_ftrace.tc15 echo > trace
17 grep testprobe trace
18 ! grep '_do_fork <-' trace
22 echo > trace
24 grep testprobe trace
25 grep '_do_fork <-' trace
29 echo > trace
31 ! grep testprobe trace
32 grep '_do_fork <-' trace
37 echo > trace
[all …]
Dkprobe_module.tc7 rmmod trace-printk ||:
8 if ! modprobe trace-printk ; then
34 if ! rmmod trace-printk ; then
47 modprobe trace-printk
48 grep "event1:" trace
51 rmmod trace-printk
Dkprobe_args_symbol.tc27 grep "testprobe_[usx]:.* arg1=.* arg2=.* arg3=.* arg4=.*" trace
28 grep "testprobe_bf:.* arg1=.*" trace
35 RESULT=`grep "testprobe_str" trace | sed -e 's/.* arg1=\(.*\)/\1/'`
/tools/testing/selftests/ftrace/test.d/event/
Dtrace_printk.tc5 rmmod trace-printk ||:
6 if ! modprobe trace-printk ; then
14 grep -q ": This .* trace_bputs" trace
15 grep -q ": This .* trace_puts" trace
16 grep -q ": This .* trace_bprintk" trace
17 grep -q ": This .* trace_printk" trace
19 grep -q ": (irq) .* trace_bputs" trace
20 grep -q ": (irq) .* trace_puts" trace
21 grep -q ": (irq) .* trace_bprintk" trace
22 grep -q ": (irq) .* trace_printk" trace
[all …]
Dsubsystem-enable.tc25 count=`cat trace | grep -v ^# | awk '{ print $5 }' | sort -u | wc -l`
36 count=`cat trace | grep -v ^# | awk '{ print $5 }' | sort -u | wc -l`
47 count=`cat trace | grep -v ^# | awk '{ print $5 }' | sort -u | wc -l`
Dtoplevel-enable.tc26 count=`head -n 128 trace | grep -v ^# | wc -l`
39 count=`head -n 128 trace | grep -v ^# | wc -l`
50 count=`cat trace | grep -v ^# | wc -l`
Devent-enable.tc25 count=`cat trace | grep sched_switch | wc -l`
36 count=`cat trace | grep sched_switch | wc -l`
47 count=`cat trace | grep sched_switch | wc -l`
Devent-pid.tc35 count=`cat trace | grep sched_switch | wc -l`
50 count=`cat trace | grep sched_switch | grep -v "pid=$mypid" | wc -l`
63 count=`cat trace | grep sched_switch | grep -v "pid=$mypid" | wc -l`
/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 …]
DMakefile5 all: trace-agent
10 trace-agent: trace-agent.o trace-agent-ctl.o trace-agent-rw.o
14 rm -f *.o trace-agent
/tools/include/linux/
Dstacktrace.h13 static inline void print_stack_trace(struct stack_trace *trace, int spaces) in print_stack_trace() argument
15 backtrace_symbols_fd((void **)trace->entries, trace->nr_entries, 1); in print_stack_trace()
18 #define save_stack_trace(trace) \ argument
19 ((trace)->nr_entries = \
20 backtrace((void **)(trace)->entries, (trace)->max_entries))
/tools/testing/selftests/ftrace/test.d/preemptirq/
Dirqsoff_tracer.tc38 cat trace
41 grep -q "tracer: preemptoff" trace || fail
44 egrep -q "5.....us : <stack trace>" trace || fail
47 egrep -q "latency: 5..... us" trace || fail
61 cat trace
64 grep -q "tracer: irqsoff" trace || fail
67 egrep -q "5.....us : <stack trace>" trace || fail
70 egrep -q "latency: 5..... us" trace || fail
/tools/testing/selftests/ftrace/test.d/ftrace/
Dfunc_profiler.tc56 if grep -v -e '^#' -e 'schedule' trace; then
61 if ! grep -e 'schedule' trace > /dev/null; then
62 cat trace
72 if ! grep -v -e '^#' -e 'schedule' trace > /dev/null; then
73 cat trace
Dfgraph-filter-stack.tc58 count=`cat trace | grep '()' | grep -v schedule | wc -l`
65 count=`cat trace | grep 'schedule()' | wc -l`
75 count=`cat trace | grep '()' | grep -v schedule | wc -l`
81 count=`cat trace | grep 'schedule()' | wc -l`
Dfunc-filter-pid.tc68 count_pid=`cat trace | grep -v ^# | grep $PID | wc -l`
69 count_other=`cat trace | grep -v ^# | grep -v $PID | wc -l`
89 count_pid=`cat trace | grep -v ^# | grep $PID | wc -l`
90 count_other=`cat trace | grep -v ^# | grep -v $PID | wc -l`
Dfunc_cpumask.tc30 echo > trace
42 grep -q -e "\[001\]" trace || do_reset
45 ! grep -qv -e "\[001\]" -e "^#" trace || do_reset
/tools/lib/traceevent/Documentation/
Dlibtraceevent-tseq.txt9 Initialize / destroy a trace sequence.
16 *#include <trace-seq.h>*
35 The _trace_seq_init()_ function initializes the trace sequence _s_.
37 The _trace_seq_destroy()_ function destroys the trace sequence _s_ and frees
40 The _trace_seq_reset()_ function re-initializes the trace sequence _s_. All
43 The _trace_seq_terminate()_ function terminates the trace sequence _s_. It puts
46 The _trace_seq_putc()_ function puts a single character _c_ in the trace
50 trace sequence _s_.
53 variable arguments _..._ in the trace sequence _s_.
56 list of arguments _args_ in the trace sequence _s_.
[all …]
Dlibtraceevent-long_size.txt7 the machine, where the trace is generated, in bytes
22 where the trace is generated. The _tep_ argument is trace event parser context.
25 where the trace is generated. The _tep_ argument is trace event parser context.
31 where the trace is generated, in bytes.
70 Report bugs to <linux-trace-devel@vger.kernel.org>
Dlibtraceevent-page_size.txt7 the machine, where the trace is generated
22 the machine, where the trace is generated. The _tep_ argument is trace
26 memory page on the machine, where the trace is generated.
27 The _tep_ argument is trace event parser context.
74 Report bugs to <linux-trace-devel@vger.kernel.org>
/tools/perf/trace/beauty/
Dpid.c6 struct trace *trace = arg->trace; in syscall_arg__scnprintf_pid() local
8 struct thread *thread = machine__findnew_thread(trace->host, pid, pid); in syscall_arg__scnprintf_pid()
/tools/testing/selftests/ftrace/test.d/00basic/
Dtrace_pipe.tc11 grep -q "test input 1" trace
12 grep -q "test input 1" trace
16 ! grep -q "test input 1" trace
/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()
/tools/testing/selftests/ftrace/test.d/tracer/
Dwakeup.tc23 grep '+ \[[[:digit:]]*\]' trace
24 grep '==> \[[[:digit:]]*\]' trace
Dwakeup_rt.tc23 grep "+ \[[[:digit:]]*\]" trace
24 grep "==> \[[[:digit:]]*\]" trace

123456