Lines Matching refs:TRACEFS
52 TRACEFS=`grep -m 1 -w tracefs /proc/mounts | cut -f 2 -d " "`
53 if [ -z "$TRACEFS" ]; then
58 TRACEFS=`grep -m 1 -w debugfs /proc/mounts | cut -f 2 -d " "`/tracing
59 if [ ! -d $TRACEFS ]; then
67 (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"
228 run_cmd "echo 1 > $TRACEFS/events/enable"
247 instancedir=$TRACEFS/instances/$1
250 instancedir=$TRACEFS
284 set_value_of kernel.fgraph_max_depth $TRACEFS/max_graph_depth
285 set_array_of kernel.fgraph_filters $TRACEFS/set_graph_function
286 set_array_of kernel.fgraph_notraces $TRACEFS/set_graph_notrace
297 run_cmd "mkdir -p $TRACEFS/instances/$i"