Home
last modified time | relevance | path

Searched refs:PR_SET_NAME (Results 1 – 21 of 21) sorted by relevance

/openbmc/linux/tools/perf/trace/beauty/
H A Dprctl.c37 if (option == PR_SET_NAME) in syscall_arg__scnprintf_prctl_arg2()
68 [PR_SET_NAME] = all_but2, in syscall_arg__scnprintf_prctl_option()
/openbmc/linux/tools/perf/tests/
H A Dthread-map.c28 !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 Dkeep-tracking.c119 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 Dswitch-tracking.c484 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0); in test__switch_tracking()
497 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0); in test__switch_tracking()
510 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0); in test__switch_tracking()
523 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0); in test__switch_tracking()
H A Dperf-time-to-tsc.c139 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()
H A Dbackward-ring-buffer.c28 prctl(PR_SET_NAME, proc_name); in testcase()
/openbmc/qemu/
H A Dos-posix.c71 #if defined(PR_SET_NAME) in os_set_proc_name()
78 if (prctl(PR_SET_NAME, name)) { in os_set_proc_name()
/openbmc/linux/tools/testing/selftests/prctl/
H A Dset-process-name.c20 res = prctl(PR_SET_NAME, name, NULL, NULL, NULL); in set_name()
/openbmc/qemu/system/
H A Dasync-teardown.c49 prctl(PR_SET_NAME, (unsigned long)name); in async_teardown_fn()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtest_overhead.c146 prctl(PR_SET_NAME, comm, 0L, 0L, 0L); in test_test_overhead()
/openbmc/linux/include/uapi/linux/
H A Dprctl.h56 #define PR_SET_NAME 15 /* Set process name */ macro
/openbmc/linux/tools/include/uapi/linux/
H A Dprctl.h56 #define PR_SET_NAME 15 /* Set process name */ macro
/openbmc/linux/tools/tracing/rtla/src/
H A Dtimerlat_u.c168 prctl(PR_SET_NAME, (unsigned long)proc_name, 0, 0, 0); in timerlat_u_dispatcher()
/openbmc/linux/tools/perf/
H A Dbuiltin-bench.c224 prctl(PR_SET_NAME, name); in run_bench()
H A Dbuiltin-top.c633 prctl(PR_SET_NAME, "perf-top-UI", 0, 0, 0); in display_thread_tui()
687 prctl(PR_SET_NAME, "perf-top-UI", 0, 0, 0); in display_thread()
H A Dbuiltin-sched.c49 #define PR_SET_NAME 15 /* Set process name */ macro
634 prctl(PR_SET_NAME, comm2); in thread_func()
/openbmc/linux/tools/testing/selftests/nolibc/
H A Dnolibc-test.c905 …CASE_TEST(prctl); EXPECT_SYSER(1, prctl(PR_SET_NAME, (unsigned long)NULL, 0, 0, 0), -1… in run_syscall()
/openbmc/linux/tools/perf/bench/
H A Dnuma.c420 prctl(PR_SET_NAME, name); \
/openbmc/linux/tools/perf/util/
H A Devlist.c1451 prctl(PR_SET_NAME, "perf-exec"); in evlist__prepare_workload()
/openbmc/linux/kernel/
H A Dsys.c2494 case PR_SET_NAME: in SYSCALL_DEFINE5()
/openbmc/qemu/linux-user/
H A Dsyscall.c6283 #ifndef PR_SET_NAME
6284 # define PR_SET_NAME 15 macro
6403 case PR_SET_NAME: in do_prctl()
6409 ret = get_errno(prctl(PR_SET_NAME, (uintptr_t)name, in do_prctl()