From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752454AbdGGRHo (ORCPT ); Fri, 7 Jul 2017 13:07:44 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:41543 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752412AbdGGRHn (ORCPT ); Fri, 7 Jul 2017 13:07:43 -0400 From: "Naveen N. Rao" To: Ingo Molnar Cc: Masami Hiramatsu , Ananth N Mavinakayanahalli , linux-kernel@vger.kernel.org Subject: [PATCH v2 0/3] kernel/kprobes: A few trivial updates to jprobes Date: Fri, 7 Jul 2017 22:37:23 +0530 X-Mailer: git-send-email 2.13.2 X-TM-AS-MML: disable x-cbid: 17070717-0004-0000-0000-000002252DFE X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17070717-0005-0000-0000-00005E096234 Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-07-07_08:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1707070284 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Here is v2 of the patch: https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1434133.html As suggested, the first two patches first clean up the existing jprobe registration functions and rename function_offset_within_entry() to kprobe_on_func_entry(). The last patch has been updated accordingly. Thanks, Naveen Naveen N. Rao (3): kernel/kprobes: Rename [arch_]function_offset_within_entry() to [arch_]kprobe_on_func_entry() kernel/kprobes: Simplify register_jprobes() kernel/kprobes: Ensure that jprobe probepoints are at function entry arch/powerpc/kernel/kprobes.c | 2 +- include/linux/kprobes.h | 4 ++-- kernel/kprobes.c | 42 ++++++++++++++++++++++++------------------ kernel/trace/trace_kprobe.c | 2 +- 4 files changed, 28 insertions(+), 22 deletions(-) -- 2.13.2