Re: [RFC PATCH v3 4/4] trace: Trace log handler for logging into STM blocks

From: Ingo Molnar
Date: Wed Jul 08 2015 - 09:22:20 EST



* Chunyan Zhang <zhang.chunyan@xxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/