Home
last modified time | relevance | path

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

/linux-6.12.1/tools/perf/tests/shell/
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-6.12.1/tools/testing/selftests/bpf/prog_tests/
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-6.12.1/tools/testing/selftests/mm/
Dsplit_huge_page_test.c281 char testfile[INPUT_MAX]; in split_file_backed_thp() local
291 status = snprintf(testfile, INPUT_MAX, "%s/thp_file", tmpfs_loc); in split_file_backed_thp()
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()
369 int create_pagecache_thp_and_fd(const char *testfile, size_t fd_size, int *fd, in create_pagecache_thp_and_fd() argument
377 *fd = open(testfile, O_CREAT | O_RDWR, 0664); in create_pagecache_thp_and_fd()
379 ksft_exit_fail_msg("Failed to create a file at %s\n", testfile); 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()
[all …]
/linux-6.12.1/tools/cgroup/
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-6.12.1/samples/bpf/
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)
D.gitignore44 testfile.img
/linux-6.12.1/Documentation/fault-injection/
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