Re: hybrid mode questions

Jerry Hom <[email protected]>
Newsgroups gmane.linux.kernel.tracing
Message-ID <[email protected]>
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);


-- 
Jerry Hom
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.