12 comments

[ 2.3 ms ] story [ 13.2 ms ] thread
Wow, this looks super useful. Thanks a lot!
Yes, very cool indeed. I wish python had something like that. I'm looking at the code but it's not obvious how this thing works ...
Why use --firehose instead of the more-standard -v/vv/vvv way?
Because "firehose" is what Twitter calls it?
If you tried it, you would understand. Ruby programs make a _LOT_ of method calls.

Unfortunately the firehose doesn't work too well on OSX, because the unix message queue API I'm using (msgget(2)) is capped in the kernel to 2048 bytes and 40 messages per queue.

it could be made to work through a FIFO though, I guess? if so I could take a shot at it :)
A FIFO might work. Do you know how big the buffers associated with FIFOs on OSX are?
sadly, I do not, I was sure I had a reference somewhere but I am completely unable to find it again :(
...and Slashdot before them. Actual strace uses -v.