Searched refs:trace (Results 26 - 50 of 1241) sorted by relevance

1234567891011>>

/linux-master/arch/hexagon/kernel/
H A Dstacktrace.c22 void save_stack_trace(struct stack_trace *trace) argument
27 int skip = trace->skip;
39 trace->entries[trace->nr_entries++] = frame->rets;
40 if (trace->nr_entries >= trace->max_entries)
/linux-master/tools/testing/selftests/ftrace/test.d/kprobe/
H A Dkprobe_module.tc6 rmmod trace-printk ||:
7 if ! modprobe trace-printk ; then
8 echo "No trace-printk sample module - please make CONFIG_SAMPLE_TRACE_PRINTK=
33 if ! rmmod trace-printk ; then
46 modprobe trace-printk
47 grep "event1:" trace
50 rmmod trace-printk
/linux-master/drivers/net/wwan/iosm/
H A Diosm_ipc_debugfs.c20 ipc_imem->trace = ipc_trace_init(ipc_imem);
21 if (!ipc_imem->trace)
22 dev_warn(ipc_imem->dev, "trace channel init failed");
27 ipc_trace_deinit(ipc_imem->trace);
/linux-master/kernel/trace/
H A Dtrace_preemptirq.c13 #include "trace.h"
16 #include <trace/events/preemptirq.h>
19 * Use regular trace points on architectures that implement noinstr
27 #define trace(point) trace_##point macro
29 #define trace(point) if (!in_nmi()) trace_##point##_rcuidle macro
45 trace(irq_enable)(CALLER_ADDR0, CALLER_ADDR1);
56 trace(irq_enable)(CALLER_ADDR0, CALLER_ADDR1);
78 trace(irq_disable)(CALLER_ADDR0, CALLER_ADDR1);
92 trace(irq_disable)(CALLER_ADDR0, CALLER_ADDR1);
103 trace(preempt_enabl
[all...]
/linux-master/scripts/
H A DMakefile.kcov2 kcov-flags-$(CONFIG_CC_HAS_SANCOV_TRACE_PC) += -fsanitize-coverage=trace-pc
3 kcov-flags-$(CONFIG_KCOV_ENABLE_COMPARISONS) += -fsanitize-coverage=trace-cmp
/linux-master/drivers/net/thunderbolt/
H A DMakefile3 thunderbolt_net-objs := main.o trace.o
5 # Tracepoints need to know where to find trace.h
/linux-master/tools/perf/trace/beauty/
H A Dpid.c6 struct trace *trace = arg->trace; local
8 struct thread *thread = machine__findnew_thread(trace->host, pid, pid);
/linux-master/tools/perf/tests/shell/lib/
H A Dprobe.sh11 perf trace -h 2>&1 | grep -q -e 'is not a perf-command' -e 'trace command not available' && return 2
/linux-master/tools/perf/
H A Dbuiltin-trace.c2 * builtin-trace.c
4 * Builtin 'trace' command:
6 * Display a continuously updated trace of any workload, CPU, specific PID,
12 * Initially based on the 'trace' prototype by Thomas Gleixner:
14 * http://lwn.net/Articles/415728/ ("Announcing a new utility: 'trace'")
57 #include "trace/beauty/beauty.h"
58 #include "trace-event.h"
129 struct trace { struct
294 * The evsel->priv as used by 'perf trace'
730 #include "trace/beaut
1436 thread__fd_path(struct thread *thread, int fd, struct trace *trace) argument
1470 pid__scnprintf_fd(struct trace *trace, pid_t pid, int fd, char *bf, size_t size) argument
1540 trace__filter_duration(struct trace *trace, double t) argument
1545 __trace__fprintf_tstamp(struct trace *trace, u64 tstamp, FILE *fp) argument
1558 trace__fprintf_tstamp(struct trace *trace, u64 tstamp, FILE *fp) argument
1582 trace__fprintf_comm_tid(struct trace *trace, struct thread *thread, FILE *fp) argument
1595 trace__fprintf_entry_head(struct trace *trace, struct thread *thread, u64 duration, bool duration_calculated, u64 tstamp, FILE *fp) argument
1607 trace__process_event(struct trace *trace, struct machine *machine, union perf_event *event, struct perf_sample *sample) argument
1631 struct trace *trace = container_of(tool, struct trace, tool); local
1653 trace__symbols_init(struct trace *trace, struct evlist *evlist) argument
1680 trace__symbols__exit(struct trace *trace) argument
1795 trace__read_syscall_info(struct trace *trace, int id) argument
1894 trace__validate_ev_qualifier(struct trace *trace) argument
1968 trace__syscall_enabled(struct trace *trace, int id) argument
2035 syscall__scnprintf_args(struct syscall *sc, char *bf, size_t size, unsigned char *args, void *augmented_args, int augmented_args_size, struct trace *trace, struct thread *thread) argument
2128 trace__syscall_info(struct trace *trace, struct evsel *evsel, int id) argument
2250 trace__printf_interrupted_entry(struct trace *trace) argument
2278 trace__fprintf_sample(struct trace *trace, struct evsel *evsel, struct perf_sample *sample, struct thread *thread) argument
2329 trace__sys_enter(struct trace *trace, struct evsel *evsel, union perf_event *event __maybe_unused, struct perf_sample *sample) argument
2408 trace__fprintf_sys_enter(struct trace *trace, struct evsel *evsel, struct perf_sample *sample) argument
2441 trace__resolve_callchain(struct trace *trace, struct evsel *evsel, struct perf_sample *sample, struct callchain_cursor *cursor) argument
2461 trace__fprintf_callchain(struct trace *trace, struct perf_sample *sample) argument
2478 trace__sys_exit(struct trace *trace, struct evsel *evsel, union perf_event *event __maybe_unused, struct perf_sample *sample) argument
2614 trace__vfs_getname(struct trace *trace, struct evsel *evsel, union perf_event *event __maybe_unused, struct perf_sample *sample) argument
2675 trace__sched_stat_runtime(struct trace *trace, struct evsel *evsel, union perf_event *event __maybe_unused, struct perf_sample *sample) argument
2729 bpf_output__fprintf(struct trace *trace, struct perf_sample *sample) argument
2737 trace__fprintf_tp_fields(struct trace *trace, struct evsel *evsel, struct perf_sample *sample, struct thread *thread, void *augmented_args, int augmented_args_size) argument
2809 trace__event_handler(struct trace *trace, struct evsel *evsel, union perf_event *event __maybe_unused, struct perf_sample *sample) argument
2917 trace__pgfault(struct trace *trace, struct evsel *evsel, union perf_event *event __maybe_unused, struct perf_sample *sample) argument
2996 trace__set_base_time(struct trace *trace, struct evsel *evsel, struct perf_sample *sample) argument
3019 struct trace *trace = container_of(tool, struct trace, tool); local
3040 trace__record(struct trace *trace, int argc, const char **argv) argument
3171 trace__handle_event(struct trace *trace, union perf_event *event, struct perf_sample *sample) argument
3206 trace__add_syscall_newtp(struct trace *trace) argument
3255 trace__set_ev_qualifier_tp_filter(struct trace *trace) argument
3280 trace__find_bpf_program_by_title(struct trace *trace, const char *name) argument
3299 trace__find_syscall_bpf_prog(struct trace *trace, struct syscall *sc, const char *prog_name, const char *type) argument
3332 trace__init_syscall_bpf_progs(struct trace *trace, int id) argument
3343 trace__bpf_prog_sys_enter_fd(struct trace *trace, int id) argument
3349 trace__bpf_prog_sys_exit_fd(struct trace *trace, int id) argument
3355 trace__find_usable_bpf_prog_entry(struct trace *trace, struct syscall *sc) argument
3456 trace__init_syscalls_bpf_prog_array_maps(struct trace *trace) argument
3548 trace__set_ev_qualifier_filter(struct trace *trace) argument
3573 trace__set_filter_loop_pids(struct trace *trace) argument
3604 trace__set_filter_pids(struct trace *trace) argument
3627 __trace__deliver_event(struct trace *trace, union perf_event *event) argument
3641 __trace__flush_events(struct trace *trace) argument
3653 trace__flush_events(struct trace *trace) argument
3658 trace__deliver_event(struct trace *trace, union perf_event *event) argument
3679 struct trace *trace = container_of(oe, struct trace, oe.data); local
3797 trace__expand_filters(struct trace *trace, struct evsel **err_evsel) argument
3815 trace__run(struct trace *trace, int argc, const char **argv) argument
4111 trace__replay(struct trace *trace) argument
4231 thread__dump_stats(struct thread_trace *ttrace, struct trace *trace, FILE *fp) argument
4283 trace__fprintf_thread(FILE *fp, struct thread *thread, struct trace *trace) argument
4334 trace__fprintf_thread_summary(struct trace *trace, FILE *fp) argument
4354 struct trace *trace = opt->value; local
4365 struct trace *trace = opt->value; local
4392 trace__open_output(struct trace *trace, const char *filename) argument
4502 struct trace *trace = (struct trace *)opt->value; local
4594 struct trace *trace = opt->value; local
4609 struct trace *trace = arg; local
4651 trace__exit(struct trace *trace) argument
4687 struct trace trace = { local
[all...]
/linux-master/net/core/
H A Dnet-traces.c3 * consolidates trace point definitions
30 #include <trace/events/skb.h>
31 #include <trace/events/net.h>
32 #include <trace/events/napi.h>
33 #include <trace/events/sock.h>
34 #include <trace/events/udp.h>
35 #include <trace/events/tcp.h>
36 #include <trace/events/fib.h>
37 #include <trace/events/qdisc.h>
39 #include <trace/event
[all...]
/linux-master/tools/testing/selftests/ftrace/test.d/00basic/
H A Dbasic1.tc2 # description: Basic trace file check
3 test -f README -a -f trace -a -f tracing_on -a -f trace_pipe
H A Dsnapshot1.tc30 grep -q "test input 1" trace
/linux-master/tools/testing/selftests/ftrace/test.d/ftrace/
H A Dfunc-filter-stacktrace.tc13 grep -q "<stack trace>" trace
H A Dfgraph-filter.tc29 count=`cat trace | grep '()' | grep -v schedule | wc -l`
35 count=`cat trace | grep 'schedule()' | wc -l`
/linux-master/drivers/gpu/
H A DMakefile7 obj-$(CONFIG_TRACE_GPU_MEM) += trace/
/linux-master/tools/testing/selftests/bpf/benchs/
H A Drun_bench_local_storage_rcu_tasks_trace.sh11 ./bench --nr_procs 15000 --kthread_pid $kthread_pid -d 600 --quiet local-storage-tasks-trace
/linux-master/drivers/usb/gadget/udc/cdns2/
H A DMakefile3 CFLAGS_cdns2-trace.o := -I$(src)
7 cdns2-udc-pci-$(CONFIG_TRACING) += cdns2-trace.o
/linux-master/tools/testing/selftests/ftrace/test.d/filter/
H A Devent-filter-function.tc13 echo > trace
27 target_func=`cat trace | grep -o 'call_site=\([^+]*\)' | sed 's/call_site=//' | sort | uniq -c | sort | tail -n 1 | sed 's/^[ 0-9]*//'`
31 echo > trace
37 hitcnt=`grep kmem_cache_free trace| grep $target_func | wc -l`
38 misscnt=`grep kmem_cache_free trace| grep -v $target_func | wc -l`
54 hitcnt=`grep kmem_cache_free trace| grep $target_func | wc -l`
55 misscnt=`grep kmem_cache_free trace| grep -v $target_func | wc -l`
/linux-master/tools/testing/selftests/bpf/progs/
H A Dperf_event_stackmap.c33 stack_trace_t *trace; local
44 trace = bpf_map_lookup_elem(&stackdata_map, &key);
45 if (!trace)
48 val = bpf_get_stack(ctx, trace, sizeof(stack_trace_t), 0);
52 val = bpf_get_stack(ctx, trace, sizeof(stack_trace_t), BPF_F_USER_STACK);
/linux-master/tools/testing/selftests/ftrace/test.d/direct/
H A 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
/linux-master/arch/arc/kernel/
H A Dstacktrace.c15 * = specifics of data structs where trace is saved(CONFIG_STACKTRACE etc)
188 struct stack_trace *trace = arg; local
190 if (trace->skip > 0)
191 trace->skip--;
193 trace->entries[trace->nr_entries++] = address;
195 if (trace->nr_entries >= trace->max_entries)
203 struct stack_trace *trace = arg; local
208 if (trace
263 save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) argument
269 save_stack_trace(struct stack_trace *trace) argument
[all...]
/linux-master/drivers/media/common/videobuf2/
H A Dvb2-trace.c5 #include <trace/events/vb2.h>
/linux-master/arch/microblaze/include/asm/
H A Dunwind.h23 void microblaze_unwind(struct task_struct *task, struct stack_trace *trace,
/linux-master/tools/testing/selftests/ftrace/test.d/trigger/
H A Dtrigger-stacktrace.tc18 echo 0 > trace
22 grep "<stack trace>" trace > /dev/null || \
/linux-master/arch/microblaze/kernel/
H A Dunwind.c157 struct stack_trace *trace,
165 unsigned long fp, struct stack_trace *trace,
178 * @trace : Where to store stack backtrace (PC values).
180 * @loglvl : Used for printk log level if (trace == NULL).
185 struct stack_trace *trace,
216 if (!trace)
218 unwind_trap(task, pc, fp, trace, loglvl);
224 if (trace) {
226 if (trace->skip > 0)
227 trace
164 unwind_trap(struct task_struct *task, unsigned long pc, unsigned long fp, struct stack_trace *trace, const char *loglvl) argument
182 microblaze_unwind_inner(struct task_struct *task, unsigned long pc, unsigned long fp, unsigned long leaf_return, struct stack_trace *trace, const char *loglvl) argument
273 microblaze_unwind(struct task_struct *task, struct stack_trace *trace, const char *loglvl) argument
291 trace, loglvl); local
[all...]

Completed in 175 milliseconds

1234567891011>>