Messages in this thread | | | Date | Wed, 8 Jul 2015 15:22:08 +0200 | From | Ingo Molnar <> | Subject | Re: [RFC PATCH v3 4/4] trace: Trace log handler for logging into STM blocks |
| |
* Chunyan Zhang <zhang.chunyan@linaro.org> wrote:
> >> +++ b/include/trace/perf.h > >> @@ -175,6 +175,7 @@ trace_event_raw_event_##call(void *__data, proto) \ > >> { assign; } \ > >> \ > >> trace_event_buffer_commit(&fbuffer); \ > >> + trace_event_stm_log(&fbuffer); \ > > > > This makes every trace event slower. > > It doesn't actually, you may decide if enable this feature, the trace event will > not be slowed if STM_TRACE_EVENT is not selected.
It slows down everyone if a distro enables this feature - that's not acceptable.
Thanks,
Ingo
| |