Searched refs:TRACEFS (Results 1 – 6 of 6) 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/" macro80 trace_fd = open(TRACEFS "trace_pipe", O_RDONLY, 0); in read_trace_pipe2()
150 FS(tracefs, tracefs, TRACEFS);
11008 #define TRACEFS "/sys/kernel/tracing" macro11022 return use_debugfs() ? DEBUGFS : TRACEFS; in tracefs_path()11027 return use_debugfs() ? DEBUGFS"/kprobe_events" : TRACEFS"/kprobe_events"; in tracefs_kprobe_events()11032 return use_debugfs() ? DEBUGFS"/uprobe_events" : TRACEFS"/uprobe_events"; in tracefs_uprobe_events()11038 : TRACEFS"/available_filter_functions"; in tracefs_available_filter_functions()11044 : TRACEFS"/available_filter_functions_addrs"; in tracefs_available_filter_functions_addrs()