News for hackers. Stuff that matters.
Re:Logging C Functions by mhh__ on Friday May 20, 2022 @02:53AM (#31444163)
dtrace and ebpf are much more powerful than this as far as I can see.

I have a bpftrace script that measures template compile times across all compiler invocations on my machine, no recompilation required.

Re:Logging C Functions by awild on Friday May 20, 2022 @05:26AM (#31445099)
They are most likely more capable but Cosmopolitan which this is built upon has a different use case than just instrumentation
Re:Logging C Functions by mhh__ on Friday May 20, 2022 @01:05PM (#31450105)
Probably, but all the top comments are saying "this is magic" or "I got to this blog feel stupid of whatever" whereas I just think it's a nice hack, so I thought I'd mention how I'd actually to do it in production.
Re:Logging C Functions by mhh__ on Friday May 20, 2022 @03:27PM (#31451532)
That should say [stupid" or whatever], I can't type.