Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753897AbbGPHPN (ORCPT ); Thu, 16 Jul 2015 03:15:13 -0400 Received: from mail4.hitachi.co.jp ([133.145.228.5]:47173 "EHLO mail4.hitachi.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752124AbbGPHPL (ORCPT ); Thu, 16 Jul 2015 03:15:11 -0400 X-AuditID: 85900ec0-9c3c7b9000001a57-a0-55a759e18f1a Subject: [PATCH tip/master 0/3] kprobes blacklist enhancement From: Masami Hiramatsu To: Ingo Molnar Cc: Pratyush Anand , Thomas Gleixner , Ingo Molnar , Linux Kernel Mailing List , "H. Peter Anvin" Date: Thu, 16 Jul 2015 16:10:53 +0900 Message-ID: <20150716071053.14218.82072.stgit@localhost.localdomain> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: AAAAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1632 Lines: 45 Hi, Here is a series of patches of kprobe blacklist enhancement which I sent 1 yrs ago (with some performance improvements). I've decided to split these patches from performance improvement patches because it is easy to review/merge. These 3 patches add NOKPROBE_SYMBOL() support for modules and show all the blacklisted symbols including arch-dependent areas (which is previously aren't shown in debugfs/kprobes/blacklist). Thank you, --- Masami Hiramatsu (3): kprobes: Support blacklist functions in module kprobes: Use NOKPROBE_SYMBOL() in sample modules kprobes/x86: Use kprobe_blacklist for .kprobes.text and .entry.text Documentation/kprobes.txt | 8 ++ arch/x86/kernel/kprobes/core.c | 11 +-- include/linux/kprobes.h | 1 include/linux/module.h | 4 + kernel/kprobes.c | 122 ++++++++++++++++++++++++++++------- kernel/module.c | 6 ++ samples/kprobes/jprobe_example.c | 1 samples/kprobes/kprobe_example.c | 3 + samples/kprobes/kretprobe_example.c | 2 + 9 files changed, 123 insertions(+), 35 deletions(-) -- Masami HIRAMATSU Linux Technology Research Center, System Productivity Research Dept. Center for Technology Innovation - Systems Engineering Hitachi, Ltd., Research & Development Group E-mail: masami.hiramatsu.pt@hitachi.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/