Searched refs:TRACEFS (Results 1 – 5 of 5) sorted by relevance
52 TRACEFS=`grep -m 1 -w tracefs /proc/mounts | cut -f 2 -d " "`53 if [ -z "$TRACEFS" ]; then58 TRACEFS=`grep -m 1 -w debugfs /proc/mounts | cut -f 2 -d " "`/tracing59 if [ ! -d $TRACEFS ]; then67 (cd $TRACEFS; initialize_ftrace)186 eventdir="$TRACEFS/instances/$4/events/$2/$3"188 eventdir="$TRACEFS/events/$2/$3"199 run_cmd "echo 'p:kprobes/$3 $line' >> $TRACEFS/kprobe_events"203 run_cmd "echo '`compose_synth $3 ${branch}.fields`' >> $TRACEFS/synthetic_events"226 run_cmd "echo 1 > $TRACEFS/instances/$2/events/enable"[all …]
26 TRACEFS=`grep -m 1 -w tracefs /proc/mounts | cut -f 2 -d " "`27 if [ -z "$TRACEFS" ]; then32 TRACEFS=`grep -m 1 -w debugfs /proc/mounts | cut -f 2 -d " "`/tracing33 if [ ! -d $TRACEFS ]; then48 val=`cat $TRACEFS/max_graph_depth`50 if grep -qv "^#" $TRACEFS/set_graph_function $TRACEFS/set_graph_notrace ; then58 cat $TRACEFS/kprobe_events | while read p args; do79 cat $TRACEFS/synthetic_events | while read event fields; do
21 #define TRACEFS "/sys/kernel/tracing" macro126 ret = snprintf(buf, PATH_MAX, READ_PATH_FMT, TRACEFS, cpu_num); in make_path()
68 #define TRACEFS "/sys/kernel/tracing/" macro 80 trace_fd = open(TRACEFS "trace_pipe", O_RDONLY, 0); in read_trace_pipe2()
11632 #define TRACEFS "/sys/kernel/tracing" in probe_kern_syscall_wrapper() 11646 return use_debugfs() ? DEBUGFS : TRACEFS; in probe_kern_syscall_wrapper() 11651 return use_debugfs() ? DEBUGFS"/kprobe_events" : TRACEFS"/kprobe_events"; in probe_kern_syscall_wrapper() 11656 return use_debugfs() ? DEBUGFS"/uprobe_events" : TRACEFS"/uprobe_events"; in bpf_program__attach_kprobe_opts() 11662 : TRACEFS"/available_filter_functions"; in bpf_program__attach_kprobe_opts() 11668 : TRACEFS"/available_filter_functions_addrs"; in bpf_program__attach_kprobe_opts() 11472 #define TRACEFS global() macro