Home
last modified time | relevance | path

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

123456

/tools/perf/
Dbuiltin-trace.c121 struct trace { struct
1410 struct trace *trace) in thread__fd_path() argument
1414 if (ttrace == NULL || trace->fd_path_disabled) in thread__fd_path()
1421 if (!trace->live) in thread__fd_path()
1423 ++trace->stats.proc_getname; in thread__fd_path()
1435 const char *path = thread__fd_path(arg->thread, fd, arg->trace); in syscall_arg__scnprintf_fd()
1443 size_t pid__scnprintf_fd(struct trace *trace, pid_t pid, int fd, char *bf, size_t size) in pid__scnprintf_fd() argument
1446 struct thread *thread = machine__find_thread(trace->host, pid, pid); in pid__scnprintf_fd()
1449 const char *path = thread__fd_path(thread, fd, trace); in pid__scnprintf_fd()
1506 if (!arg->trace->vfs_getname) in syscall_arg__scnprintf_filename()
[all …]
/tools/testing/selftests/ftrace/test.d/kprobe/
Dkprobe_ftrace.tc13 echo > trace
15 grep testprobe trace
16 ! grep "$FUNCTION_FORK <-" trace
20 echo > trace
22 grep testprobe trace
23 grep "$FUNCTION_FORK <-" trace
27 echo > trace
29 ! grep testprobe trace
30 grep "$FUNCTION_FORK <-" trace
35 echo > trace
[all …]
Dkprobe_module.tc6 rmmod trace-printk ||:
7 if ! modprobe trace-printk ; then
33 if ! rmmod trace-printk ; then
46 modprobe trace-printk
47 grep "event1:" trace
50 rmmod trace-printk
Dkprobe_args_symbol.tc26 grep "testprobe_[usx]:.* arg1=.* arg2=.* arg3=.* arg4=.*" trace
27 grep "testprobe_bf:.* arg1=.*" trace
34 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.tc21 count=`cat trace | grep -v ^# | awk '{ print $5 }' | sort -u | wc -l`
32 count=`cat trace | grep -v ^# | awk '{ print $5 }' | sort -u | wc -l`
43 count=`cat trace | grep -v ^# | awk '{ print $5 }' | sort -u | wc -l`
Dtoplevel-enable.tc22 count=`head -n 128 trace | grep -v ^# | wc -l`
35 count=`head -n 128 trace | grep -v ^# | wc -l`
46 count=`cat trace | grep -v ^# | wc -l`
Devent-enable.tc21 count=`cat trace | grep sched_switch | wc -l`
32 count=`cat trace | grep sched_switch | wc -l`
43 count=`cat trace | grep sched_switch | wc -l`
Devent-pid.tc26 count=`cat trace | grep sched_switch | wc -l`
41 count=`cat trace | grep sched_switch | grep -v "pid=$mypid" | wc -l`
54 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.tc43 cat trace
46 grep -q "tracer: preemptoff" trace || fail
49 egrep -q "5.....us : <stack trace>" trace || fail
52 egrep -q "latency: 5..... us" trace || fail
66 cat trace
69 grep -q "tracer: irqsoff" trace || fail
72 egrep -q "5.....us : <stack trace>" trace || fail
75 egrep -q "latency: 5..... us" trace || fail
/tools/testing/selftests/ftrace/test.d/ftrace/
Dfunc_profiler.tc43 if grep -v -e '^#' -e 'schedule' trace; then
48 if ! grep -e 'schedule' trace > /dev/null; then
49 cat trace
59 if ! grep -v -e '^#' -e 'schedule' trace > /dev/null; then
60 cat trace
Dfgraph-filter-stack.tc43 count=`cat trace | grep '()' | grep -v schedule | wc -l`
50 count=`cat trace | grep 'schedule()' | wc -l`
60 count=`cat trace | grep '()' | grep -v schedule | wc -l`
66 count=`cat trace | grep 'schedule()' | wc -l`
Dfunc-filter-pid.tc55 count_pid=`cat trace | grep -v ^# | grep $PID | wc -l`
56 count_other=`cat trace | grep -v ^# | grep -v $PID | wc -l`
76 count_pid=`cat trace | grep -v ^# | grep $PID | wc -l`
77 count_other=`cat trace | grep -v ^# | grep -v $PID | wc -l`
Dfunc-filter-notrace-pid.tc55 count_pid=`cat trace | grep -v ^# | grep $PID | wc -l`
56 count_other=`cat trace | grep -v ^# | grep -v $PID | wc -l`
81 count_pid=`cat trace | grep -v ^# | grep $PID | wc -l`
82 count_other=`cat trace | grep -v ^# | grep -v $PID | wc -l`
Dfunc_cpumask.tc26 echo > trace
38 grep -q -e "\[001\]" trace || do_reset
41 ! 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>
/tools/testing/selftests/ftrace/test.d/direct/
Dkprobe-direct.tc15 grep -q "my_direct_func: waking up" trace
22 echo > trace
25 grep -q "my_direct_func: waking up" trace
33 echo > trace
36 grep -q "kwake:" trace
/tools/testing/selftests/bpf/progs/
Dperf_event_stackmap.c33 stack_trace_t *trace; in oncpu() local
44 trace = bpf_map_lookup_elem(&stackdata_map, &key); in oncpu()
45 if (!trace) in oncpu()
48 val = bpf_get_stack(ctx, trace, sizeof(stack_trace_t), 0); in oncpu()
52 val = bpf_get_stack(ctx, trace, sizeof(stack_trace_t), BPF_F_USER_STACK); in oncpu()
/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.tc10 grep -q "test input 1" trace
11 grep -q "test input 1" trace
15 ! 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()

123456