Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758312Ab0BRQEg (ORCPT ); Thu, 18 Feb 2010 11:04:36 -0500 Received: from mx1.redhat.com ([209.132.183.28]:1025 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757586Ab0BRQEf (ORCPT ); Thu, 18 Feb 2010 11:04:35 -0500 Message-ID: <4B7D6503.9040904@redhat.com> Date: Thu, 18 Feb 2010 11:04:19 -0500 From: Masami Hiramatsu User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.7) Gecko/20100120 Fedora/3.0.1-1.fc11 Thunderbird/3.0.1 MIME-Version: 1.0 To: Mike Frysinger CC: Heiko Carstens , Frederic Weisbecker , Ingo Molnar , LKML , Martin Schwidefsky , "David S . Miller" , Paul Mundt , Steven Rostedt Subject: Re: [PATCH 2/3] tracing/kprobes: Make Kconfig dependencies generic References: <1266491616-6270-1-git-send-regression-fweisbec@gmail.com> <1266491616-6270-3-git-send-regression-fweisbec@gmail.com> <8bd0f97a1002180318g6ce70480x571d7d332239d68b@mail.gmail.com> <20100218120944.GA2406@osiris.boeblingen.de.ibm.com> <8bd0f97a1002180412x6cc4f280u5444f013c6e3b670@mail.gmail.com> <20100218123453.GA5136@nowhere> <20100218132521.GB2406@osiris.boeblingen.de.ibm.com> <8bd0f97a1002180601i60c5eaa4p7639091c5b617702@mail.gmail.com> In-Reply-To: <8bd0f97a1002180601i60c5eaa4p7639091c5b617702@mail.gmail.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1514 Lines: 42 Mike Frysinger wrote: >> >> config HAVE_REGS_AND_STACK_ACCESS_API >> bool >> + help >> + This symbol should be selected by an architecure if it supports >> + the API needed to access registers and stack entries from pt_regs. >> + For example the kprobes-based event tracer needs this API. > > a bit vague ... arent there headers/functions people could look at ? > perhaps you're talking about the regset functions (which is an API to > access registers in pt_regs) ? or you're talking about asm/syscall.h > (which is an API to access registers in pt_regs) ? We're talking about new API which was introduced by b1cf540f (regs_get_argument_nth has been dropped on -tip tree anyway) > i'm not asking to be a pain, i'm asking because i really havent a > clue. if i wanted to add support for this stuff to the Blackfin arch, > i wouldnt know where to start. even after reading this help i'd fall > back to grepping arch/x86/ and trying to divine a starting point from > there. yeah, I think the comment might be better to refer that APIs are in arch/*/include/asm/ptrace.h :) Thank you, -- Masami Hiramatsu Software Engineer Hitachi Computer Products (America), Inc. Software Solutions Division e-mail: mhiramat@redhat.com -- 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/