On Mon Mar 28, 2005 at 17:52:35 -0500, Julian Grizzard wrote:
jdb can log IPC messages into the trace buffer. Enable them with 'I*IR+', look at the trace buffer with 'T'. Is that what you are looking for?
Well that's a start. What we are trying to do is the same thing programatically. We want to be able to track IPCs over long periods of time, only storing interesting IPCs. The short story is that we are working on a number of security applications where this ability would be interesting. Any pointers on doing the same programatically? Maybe a look at the jdb code would help?
Sure. :) This logging can be restricted to various things like a thread, a task etc. Adding another restriction for your needs should be doable, hopefully. Just look at files like jdb_trace* or thread-log.cpp.
Adam