Re: hybrid mode questions
Mathieu Desnoyers <[email protected]>
| Newsgroups | gmane.linux.kernel.tracing |
|---|---|
| Message-ID | <20070224033352.GA10641@Krystal> |
* Jerry Hom ([email protected]) wrote: > > Well, I spent some time digging, and I think I have a fix for the > process pids in hybrid mode. Seems like the process facility was > missing some events and defaulting to 0. Here is my attempt at a > patch! > > > *** a/include/ltt/ltt-facility-select-process.h > --- b/include/ltt/ltt-facility-select-process.h > *************** > *** 26,31 **** > --- 26,35 ---- > case event_process_exit: > case event_process_wait: > case event_process_free: > + case event_process_kill: > + case event_process_signal: > + case event_process_wakeup: > + case event_process_schedchange: > return GET_CHANNEL_INDEX(processes); > default: > return GET_CHANNEL_INDEX(cpu); > Hrm, the problem with these events is that they are more "high rate" than medium rate by definition. Also, LTTV should have the necessary information in the fork() event to map the pid. I can take a closer look to the trace. Can you create a .tar.bz2 file of it and give me (in private) an url where I can upload it ? Or tell me if you prefer some other transfer mechanism. You could also give me a sample case where it does not work : is it in the GUI ? in textdump ? Mathieu > > -- > Jerry Hom > > _______________________________________________ > Ltt-dev mailing list > [email protected] > http://listserv.shafik.org/mailman/listinfo/ltt-dev > -- Mathieu Desnoyers Computer Engineering Ph.D. Candidate, Ecole Polytechnique de Montreal OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68