From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25325 invoked by alias); 3 Nov 2009 15:07:14 -0000 Received: (qmail 25316 invoked by uid 22791); 3 Nov 2009 15:07:13 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 03 Nov 2009 15:07:08 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nA3F77uG003503 for ; Tue, 3 Nov 2009 10:07:07 -0500 Received: from [10.3.242.219] (vpn-242-219.phx2.redhat.com [10.3.242.219]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nA3F7491025524; Tue, 3 Nov 2009 10:07:04 -0500 Message-ID: <4AF04717.3020008@redhat.com> Date: Tue, 03 Nov 2009 15:07:00 -0000 From: Masami Hiramatsu User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.4pre) Gecko/20091014 Fedora/3.0-2.8.b4.fc11 Thunderbird/3.0b4 MIME-Version: 1.0 To: Ingo Molnar CC: Arnaldo Carvalho de Melo , =?ISO-8859-1?Q?Fr=E9d=E9r?= =?ISO-8859-1?Q?ic_Weisbecker?= , lkml , Steven Rostedt , Jim Keniston , Ananth N Mavinakayanahalli , Christoph Hellwig , "Frank Ch. Eigler" , "H. Peter Anvin" , Jason Baron , "K.Prasad" , Peter Zijlstra , Srikar Dronamraju , systemtap , DLE Subject: Re: [PATCH -tip perf/probes 00/10] x86 insn decoder bugfixes and perf-probe syntax changes References: <20091027204156.30545.96425.stgit@harusame> <20091029085348.GD26970@elte.hu> <4AE9C919.4070003@redhat.com> <4AEF4C29.2060501@redhat.com> <4AEF7B22.50705@redhat.com> <20091103073236.GB19928@elte.hu> In-Reply-To: <20091103073236.GB19928@elte.hu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2009-q4/txt/msg00397.txt.bz2 Ingo Molnar wrote: > * Masami Hiramatsu wrote: >> Masami Hiramatsu wrote: >>> Masami Hiramatsu wrote: >>>> Ingo Molnar wrote: >>>>> What we want here is two fold: >>>>> >>>>> - enable kprobes event support when perf events is enabled and kprobes >>>>> is enabled. We dont want another config option for it. >>>> >>>> Sure, at least that combination should enable kprobe-tracer forcibly. >>> >>> Hmm, someone may not want to enables kprobe-tracer. Perhaps, >>> "default y if (EVENT_PROFILE)" is enough, isn't it? >> >> Oops, this causes recursive dependency error :-( >> >> kernel/trace/Kconfig:90:error: found recursive dependency: TRACING -> >> EVENT_TRACING -> EVENT_PROFILE -> KPROBE_TRACER -> GENERIC_TRACER -> TRACING > > This dependency problem can be resolved by simply making it 'default y' > - the option itself depends on KPROBES already, which is default-off - > so no need to also make it depend on EVENT_PROFILE. OK, > btw., it would be nice to re-name it to 'KPROBE_EVENTS'. If the probe > point is used as a count - like in the __switch_to example i cited - > there's no tracing going on at all. Sure, it's not a tracer anyway :-) Thank you, -- Masami Hiramatsu Software Engineer Hitachi Computer Products (America), Inc. Software Solutions Division e-mail: mhiramat@redhat.com