Searched refs:TRACEFS (Results 1 - 6 of 6) sorted by relevance

/linux-master/tools/bootconfig/scripts/
H A Dbconf2ftrace.sh52 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/instance
[all...]
H A Dftrace2bconf.sh26 TRACEFS=`grep -m 1 -w tracefs /proc/mounts | cut -f 2 -d " "`
27 if [ -z "$TRACEFS" ]; then
32 TRACEFS=`grep -m 1 -w debugfs /proc/mounts | cut -f 2 -d " "`/tracing
33 if [ ! -d $TRACEFS ]; then
48 val=`cat $TRACEFS/max_graph_depth`
50 if grep -qv "^#" $TRACEFS/set_graph_function $TRACEFS/set_graph_notrace ; then
58 cat $TRACEFS/kprobe_events | while read p args; do
79 cat $TRACEFS/synthetic_events | while read event fields; do
213 INSTANCE=$TRACEFS
[all...]
/linux-master/tools/virtio/virtio-trace/
H A Dtrace-agent.c21 #define TRACEFS "/sys/kernel/tracing" macro
126 ret = snprintf(buf, PATH_MAX, READ_PATH_FMT, TRACEFS, cpu_num);
/linux-master/samples/bpf/
H A Dhbm.c68 #define TRACEFS "/sys/kernel/tracing/" macro
80 trace_fd = open(TRACEFS "trace_pipe", O_RDONLY, 0);
/linux-master/tools/lib/api/fs/
H A Dfs.c150 FS(tracefs, tracefs, TRACEFS);
/linux-master/tools/lib/bpf/
H A Dlibbpf.c10814 #define TRACEFS "/sys/kernel/tracing" macro
10828 return use_debugfs() ? DEBUGFS : TRACEFS;
10833 return use_debugfs() ? DEBUGFS"/kprobe_events" : TRACEFS"/kprobe_events";
10838 return use_debugfs() ? DEBUGFS"/uprobe_events" : TRACEFS"/uprobe_events";
10844 : TRACEFS"/available_filter_functions";
10850 : TRACEFS"/available_filter_functions_addrs";

Completed in 158 milliseconds