Home
last modified time | relevance | path

Searched refs:testfile (Results 1 – 7 of 7) sorted by relevance

/linux/tools/perf/tests/shell/
A Dtest_uprobe_from_different_cu.sh27 perf probe -x ${temp_dir}/testfile -d foo || true
41 cat > ${temp_dir}/testfile-foo.h << EOF
51 cat > ${temp_dir}/testfile-foo.c << EOF
65 cat > ${temp_dir}/testfile-main.c << EOF
83 gcc -g -Og -flto -c ${temp_dir}/testfile-foo.c -o ${temp_dir}/testfile-foo.o
84 gcc -g -Og -c ${temp_dir}/testfile-main.c -o ${temp_dir}/testfile-main.o
85 gcc -g -Og -o ${temp_dir}/testfile ${temp_dir}/testfile-foo.o ${temp_dir}/testfile-main.o
87 perf probe -x ${temp_dir}/testfile --funcs foo | grep "foo"
88 perf probe -x ${temp_dir}/testfile foo
/linux/tools/testing/selftests/bpf/prog_tests/
A Dfs_kfuncs.c13 static const char testfile[] = "/tmp/test_progs_fs_kfuncs"; variable
21 fd = open(testfile, O_CREAT | O_RDONLY, 0644); in test_xattr()
28 err = setxattr(testfile, "user.kfuncs", "hello", sizeof("hello"), 0); in test_xattr()
50 fd = open(testfile, O_RDONLY, 0644); in test_xattr()
57 err = getxattr(testfile, "user.kfuncs", v, sizeof(v)); in test_xattr()
65 remove(testfile); in test_xattr()
80 fd = open(testfile, O_CREAT | O_RDWR, 0644); in test_fsverity()
91 fd = open(testfile, O_RDONLY, 0644); in test_fsverity()
130 fd = open(testfile, O_RDONLY); in test_fsverity()
139 remove(testfile); in test_fsverity()
/linux/tools/testing/selftests/mm/
A Dsplit_huge_page_test.c281 char testfile[INPUT_MAX]; in split_file_backed_thp() local
296 fd = open(testfile, O_CREAT|O_WRONLY, 0664); in split_file_backed_thp()
312 write_debugfs(PATH_FMT, testfile, pgoff_start, pgoff_end, 0); in split_file_backed_thp()
314 status = unlink(testfile); in split_file_backed_thp()
377 *fd = open(testfile, O_CREAT | O_RDWR, 0664); in create_pagecache_thp_and_fd()
399 *fd = open(testfile, O_RDWR); in create_pagecache_thp_and_fd()
420 unlink(testfile); in create_pagecache_thp_and_fd()
428 unlink(testfile); in create_pagecache_thp_and_fd()
438 char testfile[INPUT_MAX]; in split_thp_in_pagecache_to_order() local
441 err = snprintf(testfile, INPUT_MAX, "%s/test", fs_loc); in split_thp_in_pagecache_to_order()
[all …]
/linux/tools/cgroup/
A Diocost_coef_gen.py89 def run_fio(testfile, duration, iotype, iodepth, blocksize, jobs): argument
130 testfile = f'/dev/{devname}' variable
134 testfile = 'iocost-coef-fio.testfile' variable
136 create_testfile(testfile, testfile_size)
155 rbps = run_fio(testfile, args.duration, 'read',
158 rseqiops = round(run_fio(testfile, args.duration, 'read',
161 rrandiops = round(run_fio(testfile, args.duration, 'randread',
164 wbps = run_fio(testfile, args.duration, 'write',
167 wseqiops = round(run_fio(testfile, args.duration, 'write',
170 wrandiops = round(run_fio(testfile, args.duration, 'randwrite',
/linux/samples/bpf/
A Dtest_override_return.sh4 rm -f testfile.img
5 dd if=/dev/zero of=testfile.img bs=1M seek=1000 count=1
6 DEVICE=$(losetup --show -f testfile.img)
A D.gitignore44 testfile.img
/linux/Documentation/fault-injection/
A Dfault-injection.rst438 rm -f testfile.img
439 dd if=/dev/zero of=testfile.img bs=1M seek=1000 count=1
440 DEVICE=$(losetup --show -f testfile.img)
468 rm testfile.img

Completed in 13 milliseconds