Lines Matching +full:local +full:- +full:pid
1 // SPDX-License-Identifier: GPL-2.0-only
54 int local, int global, int set) in toggle_breakpoint() argument
94 if (local) { in toggle_breakpoint()
112 exit(-1); in toggle_breakpoint()
205 int len, local, global, i; in trigger_tests() local
219 for (local = 0; local < 2; local++) { in trigger_tests()
221 if (!local && !global) in trigger_tests()
233 for (local = 0; local < 2; local++) { in trigger_tests()
235 if (!local && !global) in trigger_tests()
244 for (local = 0; local < 2; local++) { in trigger_tests()
246 if (!local && !global) in trigger_tests()
292 static void launch_instruction_breakpoints(char *buf, int local, int global) in launch_instruction_breakpoints() argument
298 toggle_breakpoint(i, BP_X, 1, local, global, 1); in launch_instruction_breakpoints()
300 sprintf(buf, "Test breakpoint %d with local: %d global: %d\n", in launch_instruction_breakpoints()
301 i, local, global); in launch_instruction_breakpoints()
303 toggle_breakpoint(i, BP_X, 1, local, global, 0); in launch_instruction_breakpoints()
308 int local, int global) in launch_watchpoints() argument
320 toggle_breakpoint(i, mode, len, local, global, 1); in launch_watchpoints()
323 "Test %s watchpoint %d with len: %d local: %d global: %d\n", in launch_watchpoints()
324 mode_str, i, len, local, global); in launch_watchpoints()
326 toggle_breakpoint(i, mode, len, local, global, 0); in launch_watchpoints()
335 int len, local, global, i; in launch_tests() local
344 for (local = 0; local < 2; local++) { in launch_tests()
346 if (!local && !global) in launch_tests()
348 launch_instruction_breakpoints(buf, local, global); in launch_tests()
354 for (local = 0; local < 2; local++) { in launch_tests()
356 if (!local && !global) in launch_tests()
359 local, global); in launch_tests()
364 /* Read-Write watchpoint */ in launch_tests()
366 for (local = 0; local < 2; local++) { in launch_tests()
368 if (!local && !global) in launch_tests()
371 local, global); in launch_tests()
389 pid_t pid; in main() local
394 pid = fork(); in main()
395 if (!pid) { in main()
400 child_pid = pid; in main()