/kernel/linux/linux-5.10/tools/perf/trace/beauty/ |
H A D | prctl.c | 37 if (option == PR_SET_NAME) in syscall_arg__scnprintf_prctl_arg2() 68 [PR_SET_NAME] = all_but2, in syscall_arg__scnprintf_prctl_option()
|
/kernel/linux/linux-6.6/tools/perf/trace/beauty/ |
H A D | prctl.c | 37 if (option == PR_SET_NAME) in syscall_arg__scnprintf_prctl_arg2() 68 [PR_SET_NAME] = all_but2, in syscall_arg__scnprintf_prctl_option()
|
/kernel/linux/linux-5.10/tools/perf/tests/ |
H A D | keep-tracking.c | 119 CHECK__(prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0)); in test__keep_tracking() 141 CHECK__(prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0)); in test__keep_tracking()
|
H A D | thread-map.c | 27 !prctl(PR_SET_NAME, NAMEUL, 0, 0, 0)); in test__thread_map() 94 !prctl(PR_SET_NAME, NAMEUL, 0, 0, 0)); in test__thread_map_synthesize()
|
H A D | switch-tracking.c | 486 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0); in test__switch_tracking() 488 pr_debug("PR_SET_NAME failed!\n"); in test__switch_tracking() 499 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0); in test__switch_tracking() 501 pr_debug("PR_SET_NAME failed!\n"); in test__switch_tracking() 512 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0); in test__switch_tracking() 514 pr_debug("PR_SET_NAME failed!\n"); in test__switch_tracking() 525 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0); in test__switch_tracking() 527 pr_debug("PR_SET_NAME failed!\n"); in test__switch_tracking()
|
H A D | backward-ring-buffer.c | 28 prctl(PR_SET_NAME, proc_name); in testcase()
|
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | thread-map.c | 28 !prctl(PR_SET_NAME, NAMEUL, 0, 0, 0)); in test__thread_map() 95 !prctl(PR_SET_NAME, NAMEUL, 0, 0, 0)); in test__thread_map_synthesize()
|
H A D | keep-tracking.c | 119 CHECK__(prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0)); in test__keep_tracking() 141 CHECK__(prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0)); in test__keep_tracking()
|
H A D | switch-tracking.c | 484 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0); in test__switch_tracking() 486 pr_debug("PR_SET_NAME failed!\n"); in test__switch_tracking() 497 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0); in test__switch_tracking() 499 pr_debug("PR_SET_NAME failed!\n"); in test__switch_tracking() 510 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0); in test__switch_tracking() 512 pr_debug("PR_SET_NAME failed!\n"); in test__switch_tracking() 523 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0); in test__switch_tracking() 525 pr_debug("PR_SET_NAME failed!\n"); in test__switch_tracking()
|
H A D | perf-time-to-tsc.c | 139 CHECK__(prctl(PR_SET_NAME, (unsigned long)comm1, 0, 0, 0)); in test__perf_time_to_tsc() 144 CHECK__(prctl(PR_SET_NAME, (unsigned long)comm2, 0, 0, 0)); in test__perf_time_to_tsc()
|
/kernel/linux/linux-5.10/tools/perf/arch/x86/tests/ |
H A D | perf-time-to-tsc.c | 110 CHECK__(prctl(PR_SET_NAME, (unsigned long)comm1, 0, 0, 0)); in test__perf_time_to_tsc() 115 CHECK__(prctl(PR_SET_NAME, (unsigned long)comm2, 0, 0, 0)); in test__perf_time_to_tsc()
|
/kernel/linux/linux-6.6/tools/testing/selftests/prctl/ |
H A D | set-process-name.c | 3 * This test covers the PR_SET_NAME functionality of prctl calls 20 res = prctl(PR_SET_NAME, name, NULL, NULL, NULL); in set_name()
|
/kernel/liteos_a/testsuites/unittest/process/basic/process/smoke/ |
H A D | process_test_039.cpp | 67 prctl(PR_SET_NAME, "mainFork", 0UL, 0UL, 0UL); in TestCase()
|
H A D | process_test_044.cpp | 83 prctl(PR_SET_NAME, "mainFork", 0UL, 0UL, 0UL); in TestCase()
|
/kernel/liteos_a/testsuites/unittest/process/basic/process/full/ |
H A D | process_test_040.cpp | 90 prctl(PR_SET_NAME, "mainFork", 0UL, 0UL, 0UL); in TestCase()
|
H A D | process_test_041.cpp | 113 prctl(PR_SET_NAME, "mainFork", 0UL, 0UL, 0UL); in TestCase()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
H A D | prctl.h | 39 #define PR_SET_NAME 15 macro
|
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/smoke/ |
H A D | pthread_test_016.cpp | 80 prctl(PR_SET_NAME, "mainFork", 0UL, 0UL, 0UL); in TestCase()
|
H A D | pthread_test_015.cpp | 81 prctl(PR_SET_NAME, "mainFork", 0UL, 0UL, 0UL); in TestCase()
|
H A D | pthread_test_019.cpp | 106 prctl(PR_SET_NAME, "mainFork", 0UL, 0UL, 0UL); in TestCase()
|
H A D | pthread_test_017.cpp | 78 prctl(PR_SET_NAME, "mainFork", 0UL, 0UL, 0UL); in TestCase()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
H A D | test_overhead.c | 146 prctl(PR_SET_NAME, comm, 0L, 0L, 0L); in test_test_overhead()
|
H A D | trampoline_count.c | 111 CHECK_FAIL(prctl(PR_SET_NAME, comm, 0L, 0L, 0L)); in test_trampoline_count()
|
/kernel/linux/linux-5.10/tools/include/uapi/linux/ |
H A D | prctl.h | 56 #define PR_SET_NAME 15 /* Set process name */ macro
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | prctl.h | 56 #define PR_SET_NAME 15 /* Set process name */ macro
|