mirror of
https://github.com/urbit/shrub.git
synced 2025-01-04 18:43:46 +03:00
skip profiling if we don't yet have an arvo kernel
This commit is contained in:
parent
20c4151fd9
commit
02c0c2c531
@ -578,6 +578,12 @@ u3t_boot(void)
|
||||
if ( u3C.wag_w & u3o_debug_cpu ) {
|
||||
_ct_lop_o = c3n;
|
||||
#if defined(U3_OS_osx) || defined(U3_OS_linux)
|
||||
// skip profiling if we don't yet have an arvo kernel
|
||||
//
|
||||
if ( 0 == u3A->roc ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Register _ct_sigaction to be called on `SIGPROF`.
|
||||
{
|
||||
struct sigaction sig_s = {{0}};
|
||||
|
Loading…
Reference in New Issue
Block a user