Home
last modified time | relevance | path

Searched refs:TRACING_DIR (Results 1 – 20 of 20) sorted by relevance

/external/ltp/testcases/kernel/sched/eas/
Dsugov_wakeups.c37 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "0"); in run()
38 SAFE_FILE_PRINTF(TRACING_DIR "buffer_size_kb", "16384"); in run()
39 SAFE_FILE_PRINTF(TRACING_DIR "set_event", TRACE_EVENTS); in run()
40 SAFE_FILE_PRINTF(TRACING_DIR "trace", "\n"); in run()
41 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "1"); in run()
46 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "0"); in run()
Dsugov_stale_util.c56 SAFE_FILE_PRINTF(TRACING_DIR "trace_marker", in event_fn()
59 SAFE_FILE_PRINTF(TRACING_DIR "trace_marker", in event_fn()
86 SAFE_FILE_PRINTF(TRACING_DIR "trace_marker", "sleeping"); in burn_fn()
208 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "0"); in run()
209 SAFE_FILE_PRINTF(TRACING_DIR "buffer_size_kb", "16384"); in run()
210 SAFE_FILE_PRINTF(TRACING_DIR "set_event", TRACE_EVENTS); in run()
211 SAFE_FILE_PRINTF(TRACING_DIR "trace", "\n"); in run()
212 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "1"); in run()
221 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "0"); in run()
Deas_small_big_toggle.c39 SAFE_FILE_PRINTF(TRACING_DIR "trace_marker", "SMALL TASK"); in task_fn()
42 SAFE_FILE_PRINTF(TRACING_DIR "trace_marker", "CPU HOG"); in task_fn()
207 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "0"); in run()
208 SAFE_FILE_PRINTF(TRACING_DIR "buffer_size_kb", "16384"); in run()
209 SAFE_FILE_PRINTF(TRACING_DIR "set_event", TRACE_EVENTS); in run()
210 SAFE_FILE_PRINTF(TRACING_DIR "trace", "\n"); in run()
211 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "1"); in run()
217 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "0"); in run()
Dsched_latency_rt.c46 SAFE_FILE_PRINTF(TRACING_DIR "trace_marker", "WAKING"); in cfs_fn()
120 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "0"); in run()
121 SAFE_FILE_PRINTF(TRACING_DIR "buffer_size_kb", "16384"); in run()
122 SAFE_FILE_PRINTF(TRACING_DIR "set_event", TRACE_EVENTS); in run()
123 SAFE_FILE_PRINTF(TRACING_DIR "trace", "\n"); in run()
124 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "1"); in run()
132 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "0"); in run()
Dsched_latency_dl.c64 SAFE_FILE_PRINTF(TRACING_DIR "trace_marker", "WAKING"); in cfs_fn()
138 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "0"); in run()
139 SAFE_FILE_PRINTF(TRACING_DIR "buffer_size_kb", "16384"); in run()
140 SAFE_FILE_PRINTF(TRACING_DIR "set_event", TRACE_EVENTS); in run()
141 SAFE_FILE_PRINTF(TRACING_DIR "trace", "\n"); in run()
142 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "1"); in run()
150 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "0"); in run()
Deas_big_to_small.c38 SAFE_FILE_PRINTF(TRACING_DIR "trace_marker", "SMALL TASK"); in task_fn()
149 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "0"); in run()
150 SAFE_FILE_PRINTF(TRACING_DIR "buffer_size_kb", "16384"); in run()
151 SAFE_FILE_PRINTF(TRACING_DIR "set_event", TRACE_EVENTS); in run()
152 SAFE_FILE_PRINTF(TRACING_DIR "trace", "\n"); in run()
153 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "1"); in run()
159 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "0"); in run()
Deas_small_to_big.c39 SAFE_FILE_PRINTF(TRACING_DIR "trace_marker", "CPU HOG"); in task_fn()
149 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "0"); in run()
150 SAFE_FILE_PRINTF(TRACING_DIR "buffer_size_kb", "16384"); in run()
151 SAFE_FILE_PRINTF(TRACING_DIR "set_event", TRACE_EVENTS); in run()
152 SAFE_FILE_PRINTF(TRACING_DIR "trace", "\n"); in run()
153 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "1"); in run()
159 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "0"); in run()
Deas_one_small_task.c97 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "0"); in run()
98 SAFE_FILE_PRINTF(TRACING_DIR "buffer_size_kb", "16384"); in run()
99 SAFE_FILE_PRINTF(TRACING_DIR "set_event", TRACE_EVENTS); in run()
100 SAFE_FILE_PRINTF(TRACING_DIR "trace", "\n"); in run()
101 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "1"); in run()
107 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "0"); in run()
Dsugov_latency.c68 SAFE_FILE_PRINTF(TRACING_DIR "trace_marker", "affined"); in burn_fn()
70 SAFE_FILE_PRINTF(TRACING_DIR "trace_marker", "small task"); in burn_fn()
208 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "0"); in run()
209 SAFE_FILE_PRINTF(TRACING_DIR "buffer_size_kb", "16384"); in run()
210 SAFE_FILE_PRINTF(TRACING_DIR "set_event", TRACE_EVENTS); in run()
211 SAFE_FILE_PRINTF(TRACING_DIR "trace", "\n"); in run()
212 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "1"); in run()
218 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "0"); in run()
Deas_one_big_task.c114 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "0"); in run()
115 SAFE_FILE_PRINTF(TRACING_DIR "buffer_size_kb", "16384"); in run()
116 SAFE_FILE_PRINTF(TRACING_DIR "set_event", TRACE_EVENTS); in run()
117 SAFE_FILE_PRINTF(TRACING_DIR "trace", "\n"); in run()
118 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "1"); in run()
124 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "0"); in run()
Dsched_dl_runtime.c52 SAFE_FILE_PRINTF(TRACING_DIR "trace_marker", "DL START"); in dl_fn()
176 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "0"); in run()
177 SAFE_FILE_PRINTF(TRACING_DIR "buffer_size_kb", "16384"); in run()
178 SAFE_FILE_PRINTF(TRACING_DIR "set_event", TRACE_EVENTS); in run()
179 SAFE_FILE_PRINTF(TRACING_DIR "trace", "\n"); in run()
180 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "1"); in run()
186 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "0"); in run()
Dsched_prio_3_rr.c61 SAFE_FILE_PRINTF(TRACING_DIR "trace_marker", "TEST START"); in rt_a_fn()
150 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "0"); in run()
151 SAFE_FILE_PRINTF(TRACING_DIR "buffer_size_kb", "16384"); in run()
152 SAFE_FILE_PRINTF(TRACING_DIR "set_event", TRACE_EVENTS); in run()
153 SAFE_FILE_PRINTF(TRACING_DIR "trace", "\n"); in run()
154 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "1"); in run()
165 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "0"); in run()
Deas_two_big_three_small.c119 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "0"); in run()
120 SAFE_FILE_PRINTF(TRACING_DIR "buffer_size_kb", "16384"); in run()
121 SAFE_FILE_PRINTF(TRACING_DIR "set_event", TRACE_EVENTS); in run()
122 SAFE_FILE_PRINTF(TRACING_DIR "trace", "\n"); in run()
123 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "1"); in run()
131 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "0"); in run()
Dsched_boost.c108 SAFE_FILE_PRINTF(TRACING_DIR "trace", "\n"); in run_test()
109 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "1"); in run_test()
112 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "0"); in run_test()
163 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "0"); in run()
164 SAFE_FILE_PRINTF(TRACING_DIR "buffer_size_kb", "16384"); in run()
165 SAFE_FILE_PRINTF(TRACING_DIR "set_event", TRACE_EVENTS); in run()
Dsched_cfs_prio.c184 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "0"); in run()
185 SAFE_FILE_PRINTF(TRACING_DIR "buffer_size_kb", "16384"); in run()
186 SAFE_FILE_PRINTF(TRACING_DIR "set_event", TRACE_EVENTS); in run()
187 SAFE_FILE_PRINTF(TRACING_DIR "trace", "\n"); in run()
188 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "1"); in run()
197 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "0"); in run()
Dsched_prio_3_fifo.c228 SAFE_FILE_PRINTF(TRACING_DIR "trace_marker", "TEST START"); in rt_low_fn_a()
356 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "0"); in run()
357 SAFE_FILE_PRINTF(TRACING_DIR "buffer_size_kb", "16384"); in run()
358 SAFE_FILE_PRINTF(TRACING_DIR "set_event", TRACE_EVENTS); in run()
359 SAFE_FILE_PRINTF(TRACING_DIR "trace", "\n"); in run()
360 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "1"); in run()
377 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "0"); in run()
Dtrace_parse.h12 #define TRACING_DIR "/sys/kernel/debug/tracing/" macro
Dtrace_parse.c91 SAFE_FILE_PRINTF(TRACING_DIR "tracing_on", "0"); in trace_cleanup()
388 trace_fd = open(TRACING_DIR "trace", O_RDONLY); in refill_buffer()
/external/linux-kselftest/tools/testing/selftests/ftrace/
Dftracetest121 TRACING_DIR=`grep tracefs /proc/mounts | cut -f2 -d' ' | head -1`
123 TRACING_DIR=$DEBUGFS_DIR/tracing
141 if [ -z "$TRACING_DIR" -o ! -d "$TRACING_DIR" ]; then
302 (cd $TRACING_DIR; read PID _ < /proc/self/stat; set -e; set -x; initialize_ftrace; . $1)
356 SAVED_TRACING_DIR=$TRACING_DIR
357 export TRACING_DIR=`mktemp -d $TRACING_DIR/instances/ftracetest.XXXXXX`
359 rmdir $TRACING_DIR
360 TRACING_DIR=$SAVED_TRACING_DIR
366 (cd $TRACING_DIR; initialize_ftrace) # for cleanup
/external/autotest/client/site_tests/graphics_WebGLAquarium/
Dsampler.py12 TRACING_DIR = '/sys/kernel/debug/tracing' variable
22 with open(os.path.join(TRACING_DIR, file_name), 'w') as f:
50 with open(os.path.join(TRACING_DIR, 'trace'), 'r') as f: