(2013/01/25 15:46), Srikar Dronamraju wrote: > The other alternative is to extend the current abi and pass the > prefilter option. Should we extend the abi for userspace tracing is > obviously debatable.
Hmm, afaik, ftrace has set_ftrace_pid and perf record also has --pid option. I think you can hook those to set pre-filter option at first. Of course, since those are universal options, we may need other per-event pid filter. Thank you, -- Masami HIRAMATSU IT Management Research Dept. Linux Technology Center Hitachi, Ltd., Yokohama Research Laboratory E-mail: masami.hiramatsu...@hitachi.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/