From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755151AbbCBUnR (ORCPT ); Mon, 2 Mar 2015 15:43:17 -0500 Received: from smtprelay0223.hostedemail.com ([216.40.44.223]:36027 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751692AbbCBUnQ (ORCPT ); Mon, 2 Mar 2015 15:43:16 -0500 X-Session-Marker: 6E657665747340676F6F646D69732E6F7267 X-Spam-Summary: 50,0,0,,d41d8cd98f00b204,rostedt@goodmis.org,:::::::::::::::::,RULES_HIT:41:355:379:472:541:599:800:960:967:973:988:989:1260:1277:1311:1313:1314:1345:1359:1431:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2525:2553:2565:2682:2685:2693:2859:2901:2902:2910:2933:2937:2939:2942:2945:2947:2951:2954:3022:3138:3139:3140:3141:3142:3353:3622:3865:3867:3868:3870:3872:3874:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4321:5007:6117:6119:6261:7875:7903:9025:10004:10400:10848:10967:11026:11232:11473:11658:11914:12043:12296:12438:12517:12519:12740:13069:13076:13311:13357:14096:14097:21080:21088,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0 X-HE-Tag: bean83_9066699585a13 X-Filterd-Recvd-Size: 2685 Date: Mon, 2 Mar 2015 15:43:11 -0500 From: Steven Rostedt To: Alexei Starovoitov Cc: Karim Yaghmour , Tom Zanussi , Masami Hiramatsu , Namhyung Kim , Andi Kleen , LKML , Ingo Molnar , Arnaldo Carvalho de Melo Subject: Re: [PATCH v2 00/15] tracing: 'hist' triggers Message-ID: <20150302154311.3f14c949@gandalf.local.home> In-Reply-To: <20150302153948.7fb62a58@gandalf.local.home> References: <20150302144520.72808a08@gandalf.local.home> <54F4BECD.6030608@opersys.com> <20150302153948.7fb62a58@gandalf.local.home> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2 Mar 2015 15:39:48 -0500 Steven Rostedt wrote: > On Mon, 2 Mar 2015 12:33:34 -0800 > Alexei Starovoitov wrote: > > > On Mon, Mar 2, 2015 at 11:49 AM, Karim Yaghmour > > wrote: > > > > > > On 15-03-02 02:45 PM, Steven Rostedt wrote: > > >> Interesting. The Android devices I have still have it enabled (rooted, > > >> but still running the stock system). > > > > > > I don't know that there's any policy to disable tracing on Android. The > > > Android framework in fact has generally been instrumented by Google > > > itself to output trace info into trace_marker. And the systrace/atrace > > > tools made available to app developers need to get access to this > > > tracing info. So, if Android had tracing disabled, systrace/atrace > > > wouldn't work. > > > https://developer.android.com/tools/debugging/systrace.html > > > > that's interesting. thanks for the link. > > > > I don't see tracing being explicitly enabled in defconfig: > > https://source.android.com/devices/tech/kernel.html > > CONFIG_SCHED_TRACER=y > > That alone will enable tracing. > > -- Steve > > > or here: > > https://android.googlesource.com/kernel/common/+/android-3.10/android/configs/android-recommended.cfg > CONFIG_ENABLE_DEFAULT_TRACERS=y And so will that. -- Steve