Home
last modified time | relevance | path

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

/linux/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/instances/$2/events/enable"
[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
/linux/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); in make_path()
/linux/samples/bpf/
H A Dhbm.c68 #define TRACEFS "/sys/kernel/tracing/" macro
80 trace_fd = open(TRACEFS "trace_pipe", O_RDONLY, 0); in read_trace_pipe2()
/linux/tools/lib/api/fs/
H A Dfs.c150 FS(tracefs, tracefs, TRACEFS);
/linux/tools/lib/bpf/
H A Dlibbpf.c11008 #define TRACEFS "/sys/kernel/tracing" macro
11022 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()