mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 11:37:35 +00:00
14e192e5ba
This is similar to the --ftrace (c function call trace) flag, except it's less noisy since it only logs system calls to stderr. Having this flag is valuable because (1) system call tracing tells us a lot about the behavior of complex programs and (2) it's usually very hard to get system call tracing on various operating systems, e.g. strace, ktrace, dtruss, truss, nttrace, etc. Especially on Apple platforms where even with the special boot trick, debuggers still aren't guaranteed to work. make -j8 o//examples o//examples/hello.com --strace This is enabled by default in MODE=, MODE=opt, and MODE=dbg. In MODE=dbg extra information will be printed. make -j8 MODE=dbg o/dbg/examples o/dbg/examples/hello.com --strace |& less This change also changes: - Rename IsText() → _istext() - Rename IsUtf8() → _isutf8() - Fix madvise() on Windows NT - Fix empty string case of inet_ntop() - vfork() wrapper now saves and restores errno - Update xsigaction() to yoink syscall support |
||
---|---|---|
.. | ||
alignof_test.c | ||
alloca_test.c | ||
arith_test.c | ||
asm_test.c | ||
assert_test.c | ||
attribute_test.c | ||
bitfield_test.c | ||
builtin_test.c | ||
cast_test.c | ||
common.c | ||
compat_test.c | ||
complit_test.c | ||
const_test.c | ||
constexpr_test.c | ||
control_test.c | ||
dce_test.c | ||
decl_test.c | ||
enum_test.c | ||
extern_test.c | ||
float_test.c | ||
function_test.c | ||
generic_test.c | ||
include1.h | ||
include2.h | ||
include3.h | ||
include4.h | ||
initializer_test.c | ||
int128_test.c | ||
line_test.c | ||
literal_test.c | ||
macro_test.c | ||
offsetof_test.c | ||
pointer_test.c | ||
pragma-once_test.c | ||
sizeof_test.c | ||
string_test.c | ||
struct_test.c | ||
test.h | ||
test.mk | ||
tls_test.c.todo | ||
typedef_test.c | ||
typeof_test.c | ||
unicode_test.c | ||
union_test.c | ||
usualconv_test.c | ||
varargs_test.c | ||
variable_test.c | ||
vector_test.c | ||
vla_test.c |