Closed ls-1801 closed 8 months ago
dump_context(current->context);
in the futex() function at https://github.com/nanovms/nanos/blob/master/src/unix/futex.c#L347. This would print a frame trace and stack trace of the user program when it invoked the FUTEX_WAKE_BITSET operation. If you add the "ingest_program_symbols" flag to your Ops configuration file (as in { "Debugflags":["ingest_program_symbols"] }
, see https://docs.ops.city/ops/configuration), the trace will include the program function names (unless the program executable has been stripped of the ELF symbol names); however, if the futex operation came from a dynamically linked library, you won't see the function names from that library.´Thank you, that was very helpful, I was able to remove calls to FUTEX_WAKE_BITSET.
During stress testing my application as a nanos unikernel, I noticed crashes because of a missing
FUTEX_WAKE_BITSET
implementation.FUTEX_WAKE_BITSET
function possible, or is this mask functionality not implemented? (I couldn't find it, althoughFUTEX_WAIT_BITSET
does exist)