/external/ltp/testcases/kernel/sched/eas/ |
D | sugov_wakeups.c | 37 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()
|
D | sugov_stale_util.c | 56 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()
|
D | eas_small_big_toggle.c | 39 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()
|
D | sched_latency_rt.c | 46 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()
|
D | sched_latency_dl.c | 64 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()
|
D | eas_big_to_small.c | 38 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()
|
D | eas_small_to_big.c | 39 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()
|
D | eas_one_small_task.c | 97 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()
|
D | sugov_latency.c | 68 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()
|
D | eas_one_big_task.c | 114 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()
|
D | sched_dl_runtime.c | 52 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()
|
D | sched_prio_3_rr.c | 61 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()
|
D | eas_two_big_three_small.c | 119 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()
|
D | sched_boost.c | 108 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()
|
D | sched_cfs_prio.c | 184 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()
|
D | sched_prio_3_fifo.c | 228 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()
|
D | trace_parse.h | 12 #define TRACING_DIR "/sys/kernel/debug/tracing/" macro
|
D | trace_parse.c | 91 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/ |
D | ftracetest | 121 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/ |
D | sampler.py | 12 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:
|