Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934862AbbGHNWR (ORCPT ); Wed, 8 Jul 2015 09:22:17 -0400 Received: from mail-wg0-f54.google.com ([74.125.82.54]:35952 "EHLO mail-wg0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933837AbbGHNWO (ORCPT ); Wed, 8 Jul 2015 09:22:14 -0400 Date: Wed, 8 Jul 2015 15:22:08 +0200 From: Ingo Molnar To: Chunyan Zhang Cc: Peter Zijlstra , Steven Rostedt , mingo@redhat.com, Mathieu Poirier , Serge Broslavsky , broonie@kernel.org, Alexander Shishkin , Lyra Zhang , "linux-kernel@vger.kernel.org" Subject: Re: [RFC PATCH v3 4/4] trace: Trace log handler for logging into STM blocks Message-ID: <20150708132207.GA23380@gmail.com> References: <20150708123148.GF12596@twins.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1012 Lines: 25 * Chunyan Zhang 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/