Re:Varlink – IPC to replace D-Bus gradually in systemd
by gpderetta on Monday September 30, 2024 @04:51AM
(#41694948)
Sure the interface with the log might be text based, but my understanding is that the at rest format is binary and you need specialized tools to read it, standard unix grep is not going to cut it.
Although I use strace all the time, I hardly ever look at the payload of read and write calls, although I could see why it would be useful. But given a binary protocol it wouldn't be terribly hard to build a tool that parses the output of strace.
> [Maybe, when trying to be a smartass, try to be "smart", and not just an "ass"?]
thanks for the kind words and elevating the tone of the discussion.
Re:Varlink – IPC to replace D-Bus gradually in systemd
by otabdeveloper4 on Tuesday October 01, 2024 @08:08AM
(#41707310)
> ...it wouldn't be terribly hard to build a tool that parses the output of strace.
Nah, it'd be a rage-inducing nightmare.
(Yes, we then store the structure log data on disk in a binary format. Lookup indexes are just nasty in text based formats).
Hence, not sure what the Journal has to do with Varlink, but any IPC that the journal does is text-based, and very nicely strace'able in fact, I do that all the time.
[Maybe, when trying to be a smartass, try to be "smart", and not just an "ass"?]