Home
last modified time | relevance | path

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

/linux-6.15/tools/perf/tests/shell/
H A Dtest_uprobe_from_different_cu.sh26 perf probe -x ${temp_dir}/testfile -d foo || true
40 cat > ${temp_dir}/testfile-foo.h << EOF
50 cat > ${temp_dir}/testfile-foo.c << EOF
64 cat > ${temp_dir}/testfile-main.c << EOF
82 gcc -g -Og -flto -c ${temp_dir}/testfile-foo.c -o ${temp_dir}/testfile-foo.o
83 gcc -g -Og -c ${temp_dir}/testfile-main.c -o ${temp_dir}/testfile-main.o
84 gcc -g -Og -o ${temp_dir}/testfile ${temp_dir}/testfile-foo.o ${temp_dir}/testfile-main.o
86 perf probe -x ${temp_dir}/testfile --funcs foo | grep "foo"
87 perf probe -x ${temp_dir}/testfile foo
/linux-6.15/tools/testing/selftests/bpf/prog_tests/
H A Dfs_kfuncs.c14 static const char testfile[] = "/tmp/test_progs_fs_kfuncs"; variable
22 fd = open(testfile, O_CREAT | O_RDONLY, 0644); in test_get_xattr()
51 fd = open(testfile, O_RDONLY, 0644); in test_get_xattr()
57 err = getxattr(testfile, name, v, sizeof(v)); in test_get_xattr()
73 remove(testfile); in test_get_xattr()
120 fd = open(testfile, O_CREAT | O_RDONLY, 0644); in test_set_remove_xattr()
194 remove(testfile); in test_set_remove_xattr()
209 fd = open(testfile, O_CREAT | O_RDWR, 0644); in test_fsverity()
220 fd = open(testfile, O_RDONLY, 0644); in test_fsverity()
259 fd = open(testfile, O_RDONLY); in test_fsverity()
[all …]
/linux-6.15/tools/cgroup/
H 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-6.15/tools/testing/selftests/mm/
H A Dsplit_huge_page_test.c272 char testfile[INPUT_MAX]; in split_file_backed_thp() local
297 status = snprintf(testfile, INPUT_MAX, "%s/thp_file", tmpfs_loc); in split_file_backed_thp()
303 fd = open(testfile, O_CREAT|O_RDWR, 0664); in split_file_backed_thp()
339 status = unlink(testfile); in split_file_backed_thp()
406 *fd = open(testfile, O_CREAT | O_RDWR, 0664); in create_pagecache_thp_and_fd()
429 *fd = open(testfile, O_RDWR); in create_pagecache_thp_and_fd()
450 unlink(testfile); in create_pagecache_thp_and_fd()
458 unlink(testfile); in create_pagecache_thp_and_fd()
469 char testfile[INPUT_MAX]; in split_thp_in_pagecache_to_order_at() local
472 err = snprintf(testfile, INPUT_MAX, "%s/test", fs_loc); in split_thp_in_pagecache_to_order_at()
[all …]
/linux-6.15/tools/testing/selftests/net/packetdrill/
H A Dtcp_sendfile_sendfile-simple.pkt8 /bin/rm -f /tmp/testfile
9 /bin/dd bs=1 count=5 if=/dev/zero of=/tmp/testfile status=none
24 +0 open("/tmp/testfile", O_RDONLY) = 5
/linux-6.15/samples/bpf/
H A D.gitignore44 testfile.img
/linux-6.15/Documentation/fault-injection/
H A Dfault-injection.rst478 rm -f testfile.img
479 dd if=/dev/zero of=testfile.img bs=1M seek=1000 count=1
480 DEVICE=$(losetup --show -f testfile.img)
508 rm testfile.img