Home
last modified time | relevance | path

Searched refs:STACK_SIZE (Results 1 – 9 of 9) sorted by relevance

/tools/perf/arch/powerpc/tests/
Ddwarf-unwind.c11 #define STACK_SIZE 8192 macro
21 buf = malloc(STACK_SIZE); in sample_ustack()
37 stack_size = stack_size > STACK_SIZE ? STACK_SIZE : stack_size; in sample_ustack()
/tools/perf/arch/arm/tests/
Ddwarf-unwind.c11 #define STACK_SIZE 8192 macro
21 buf = malloc(STACK_SIZE); in sample_ustack()
37 stack_size = stack_size > STACK_SIZE ? STACK_SIZE : stack_size; in sample_ustack()
/tools/perf/arch/arm64/tests/
Ddwarf-unwind.c11 #define STACK_SIZE 8192 macro
21 buf = malloc(STACK_SIZE); in sample_ustack()
37 stack_size = stack_size > STACK_SIZE ? STACK_SIZE : stack_size; in sample_ustack()
/tools/perf/arch/x86/tests/
Ddwarf-unwind.c11 #define STACK_SIZE 8192 macro
21 buf = malloc(STACK_SIZE); in sample_ustack()
37 stack_size = stack_size > STACK_SIZE ? STACK_SIZE : stack_size; in sample_ustack()
/tools/testing/selftests/bpf/prog_tests/
Dns_current_pid_tgid.c16 #define STACK_SIZE (1024 * 1024) macro
17 static char child_stack[STACK_SIZE];
68 cpid = clone(test_current_pid_tgid, child_stack + STACK_SIZE, in test_ns_current_pid_tgid_new_ns()
Dfexit_sleep.c23 #define STACK_SIZE (1024 * 1024) macro
24 static char child_stack[STACK_SIZE];
41 cpid = clone(do_sleep, child_stack + STACK_SIZE, CLONE_FILES | SIGCHLD, fexit_skel); in test_fexit_sleep()
/tools/testing/selftests/sched/
Dcs_prctl_test.c87 #define STACK_SIZE (1024 * 1024) macro
140 child_stack = malloc(STACK_SIZE); in create_threads()
144 tid = clone(child_func_thread, child_stack + STACK_SIZE, THREAD_CLONE_FLAGS, NULL); in create_threads()
167 static unsigned char child_func_process_stack[STACK_SIZE];
180 cpid = clone(child_func_process, child_func_process_stack + STACK_SIZE, in create_processes()
/tools/testing/selftests/memfd/
Dfuse_test.c40 #define STACK_SIZE 65536 macro
205 stack = malloc(STACK_SIZE); in spawn_sealing_thread()
212 stack + STACK_SIZE, in spawn_sealing_thread()
Dmemfd_test.c29 #define STACK_SIZE 65536 macro
615 stack = malloc(STACK_SIZE); in spawn_idle_thread()
622 stack + STACK_SIZE, in spawn_idle_thread()