From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751569Ab3LACQk (ORCPT ); Sat, 30 Nov 2013 21:16:40 -0500 Received: from mail4.hitachi.co.jp ([133.145.228.5]:50138 "EHLO mail4.hitachi.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751412Ab3LACQi (ORCPT ); Sat, 30 Nov 2013 21:16:38 -0500 Message-ID: <529A9C02.4090909@hitachi.com> Date: Sun, 01 Dec 2013 11:16:34 +0900 From: Masami Hiramatsu Organization: Hitachi, Ltd., Japan User-Agent: Mozilla/5.0 (Windows NT 5.2; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: Ingo Molnar Cc: "Frank Ch. Eigler" , linux-arch@vger.kernel.org, Ananth N Mavinakayanahalli , Sandeepa Prabhu , x86@kernel.org, lkml , "Steven Rostedt (Red Hat)" , virtualization@lists.linux-foundation.org, systemtap@sourceware.org, "David S. Miller" Subject: Re: Re: Re: Re: Re: [PATCH -tip v3 00/23] kprobes: introduce NOKPROBE_SYMBOL() and general cleaning of kprobe blacklist References: <20131120042148.15296.88360.stgit@kbuild-fedora.novalocal> <20131120153801.GA9743@gmail.com> <20131120173600.GK8993@redhat.com> <528D6C9F.8050809@hitachi.com> <20131121072938.GA16912@gmail.com> <528EC2FF.30301@hitachi.com> <528F4406.3090309@hitachi.com> <20131127133045.GC18422@gmail.com> <52971E66.9080006@hitachi.com> <20131130134618.GA18768@gmail.com> In-Reply-To: <20131130134618.GA18768@gmail.com> 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 (2013/11/30 22:46), Ingo Molnar wrote: >>>> Anyway, to fix all of them, I think we need file-based blacklist >>>> especially for assembler symbols. >>> >>> assembler symbols shouldn't be particular hard either, just put them >>> into the noprobes section. >> >> Would you mean .kprobes.text? Hmm, I hope not to use it anymore, but >> yeah, bugfix is more important. Agreed. > > No, why not put the symbol address into the 'blacklist' section, > within the asm file? We fill out exception table entries in .S files > as well, see the _ASM_EXTABLE() macro, it's possible to do all that. Oh! I got it. Thank you for the pointer! :) > > It needs not a CPP macro but an assembly macro. OK, I'll try that. Thanks again, -- Masami HIRAMATSU IT Management Research Dept. Linux Technology Center Hitachi, Ltd., Yokohama Research Laboratory E-mail: masami.hiramatsu.pt@hitachi.com