Home
last modified time | relevance | path

Searched refs:testpoint (Results 1 – 4 of 4) sorted by relevance

/xnu-11215.81.4/osfmk/kern/
H A Dexclaves_test_stackshot.c35 testpoint_name(tp_id_t testpoint) in testpoint_name() argument
37 switch (testpoint) { in testpoint_name()
94 tp_call_stackshot_long_upcall(tp_id_t testpoint, tp_val_t __unused val) in tp_call_stackshot_long_upcall() argument
96 printf("tp_call(STACKSHOT_LONG_UPCALL/%s) pre-start\n", testpoint_name(testpoint)); in tp_call_stackshot_long_upcall()
98 switch (testpoint) { in tp_call_stackshot_long_upcall()
111 printf("tp_call(STACKSHOT_LONG_UPCALL/%s) start\n", testpoint_name(testpoint)); in tp_call_stackshot_long_upcall()
113 switch (testpoint) { in tp_call_stackshot_long_upcall()
118 tp_wait(testpoint); in tp_call_stackshot_long_upcall()
121 tp_relay(testpoint, TP_WAIT_START_STACKSHOT); in tp_call_stackshot_long_upcall()
130 printf("tp_call(STACKSHOT_LONG_UPCALL/%s) finish\n", testpoint_name(testpoint)); in tp_call_stackshot_long_upcall()
[all …]
H A Dtestpoints.c48 tp_block(tp_id_t testpoint) in tp_block() argument
50 tp_blocked_info[testpoint] = 1; in tp_block()
62 tp_wait(tp_id_t testpoint) in tp_wait() argument
65 while ((tp_blocked_info[testpoint]) && wr <= 0) { in tp_wait()
69 printf("tp_block(%hu) wait interrupted with error %d\n", testpoint, wr); in tp_wait()
74 tp_relay(tp_id_t testpoint, tp_id_t other_testpoint) in tp_relay() argument
77 tp_block(testpoint); in tp_relay()
78 tp_wait(testpoint); in tp_relay()
83 tp_call(tp_id_t testpoint, tp_val_t val) in tp_call() argument
92 tp_call_stackshot_upcall(testpoint, val); in tp_call()
[all …]
H A Dtestpoints.h82 tp_call(tp_id_t testpoint, tp_val_t val);
102 tp_block(tp_id_t testpoint);
110 tp_wait(tp_id_t testpoint);
114 tp_relay(tp_id_t testpoint, tp_id_t other_testpoint);
H A Dexclaves_test_stackshot.h36 tp_call_stackshot_long_upcall(tp_id_t testpoint, tp_val_t __unused val);
39 tp_call_stackshot_upcall(tp_id_t testpoint, tp_val_t __unused val);