From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752550AbeCPTCd (ORCPT ); Fri, 16 Mar 2018 15:02:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:49280 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750921AbeCPTCc (ORCPT ); Fri, 16 Mar 2018 15:02:32 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5BA4B21741 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=goodmis.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=rostedt@goodmis.org Date: Fri, 16 Mar 2018 15:02:26 -0400 From: Steven Rostedt To: Mathieu Desnoyers Cc: Francis Deslauriers , Masami Hiramatsu , Peter Zijlstra , linux-kernel , Linus Torvalds Subject: Re: [PATCH 2/2] kprobe: fix: Add ftrace_ops_assist_func to kprobe blacklist Message-ID: <20180316150226.7129a42e@gandalf.local.home> In-Reply-To: <1577244734.11604.1521222781948.JavaMail.zimbra@efficios.com> References: <1500044315-9508-1-git-send-email-francis.deslauriers@efficios.com> <1500044315-9508-3-git-send-email-francis.deslauriers@efficios.com> <20170714142900.1c91949c@gandalf.local.home> <20180316112517.66bdd85a@gandalf.local.home> <229385456.11580.1521217739037.JavaMail.zimbra@efficios.com> <20180316124134.30fa47d5@gandalf.local.home> <20180316124840.3e83bbec@gandalf.local.home> <1577244734.11604.1521222781948.JavaMail.zimbra@efficios.com> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.31; 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 Fri, 16 Mar 2018 13:53:01 -0400 (EDT) Mathieu Desnoyers wrote: > Would the general approach you envision be based on emitting all code > generated by compilation of all objects under kernel/tracing and > kernel/events into a specific "nokprobes" text section of the kernel ? > Perhaps we could create a specific linker scripts for those directories, > or do you have in mind a neater way to do this ? I was thinking of adding it to the objtool work. I need to consolidate the recordmcount code and objtool for doing this, and that is on my agenda (it has to do with some of the current "urgent" needs). But this will take a bit of effort. In the mean time and not against just adding the whack-a-mole approach and add the functions that the original patch selected as nokprobes. -- Steve