Re:Logging C function calls with cosmopolitan Libc (2022)
by rwmj on Sunday July 28, 2024 @11:04AM
(#41093673)
Note you can use 'ltrace' with any Linux shared library to trace library calls. https://www.ltrace.org/ https://en.wikipedia.org/wiki/Ltrace
[ Parent
| on HN ]
Re:Logging C function calls with cosmopolitan Libc (2022)
by perihelions on Sunday July 28, 2024 @11:20AM
(#41093798)
And it can accomplish the same "print timestamps" example from OP using the -tt flag ("-tt If given twice, the time printed will include the microseconds"). It's also the same flag in strace.