Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4059844iob; Sun, 8 May 2022 01:56:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzM/dpERlnO67bL7VRp7cPbQj40Ytv/bTRdvxGEmbDqSU+eNtUPG+ePlqGll3A8oMD4uL/y X-Received: by 2002:a63:5f44:0:b0:3c2:bb2:8038 with SMTP id t65-20020a635f44000000b003c20bb28038mr8720435pgb.377.1652000196791; Sun, 08 May 2022 01:56:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652000196; cv=none; d=google.com; s=arc-20160816; b=faTYCFKNpTmgRShNqQNhKuB1YXugewhLYfSRgHg0eTDiQsJdtBK/R09TRyIYBj8XkC euz37ASGCRqZRg/UugcqMyMssSfQapsc4x/HcdOdeDjiWGKxqeFEEka/zePugCp912bw cvHc7ZikEjhhCFNwmwy8pqQqVUPBvf2Xxqz6dbCExGekBISN1uDAd19ONZzbI9jAwADz ineDljFTW/HvcnP7UYYrqicZByQq7dcoQj3BXm7Jd6ERDy0GUTyxmiIAbb1nOLCWsqZz wWbSnBTInGMVUNkj+yMg45cSzLKGx8Ba/2PQfv7DBdtMYapt6DkJQyx8KCnB+yAuS00d NzNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=bF8L8z09QVZk7H+8b201Liadc2TqNXGWTx5yDgyTddE=; b=HpsX6ElkkB5SzdfmBe4Bb+Vg2V/Fsr851aU4Lm7bhiQgjEtbTdH7ZPqxn/9JXR0v5T ystRMcpBJdWeACLpozZ1F2WGAcAbDfdzes249hVRJXRFgBLTI2PBQZHEZKkLK1C+BzXZ csEUgi7rvKsGo2WGECwWDLHgusZmewSJKMVU6hg4zoVUi0XmShr6SKHY1chDb2FgB1SC aGC09qzOIbyX0yMkRCZ16dXCn/z7N+o6XfgrL4SRKE2RC5cF9Eqsk7oVBOte1QApyN3r 6RzMT7HP/KO3KNWMjX1wmMZJtUntCu7aZ+SnWBmIPVDGTTkM1wVOcLz6aeqi6px273Vq 2x0w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l5-20020a170902d34500b0015eb08a71a8si7230296plk.65.2022.05.08.01.56.23; Sun, 08 May 2022 01:56:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1390916AbiEFKYf (ORCPT + 99 others); Fri, 6 May 2022 06:24:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1390900AbiEFKYP (ORCPT ); Fri, 6 May 2022 06:24:15 -0400 Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A4C9B3DA48; Fri, 6 May 2022 03:20:29 -0700 (PDT) Received: from linux.localdomain (unknown [113.200.148.30]) by mail.loongson.cn (Coremail) with SMTP id AQAAf9BxENtn9nRiaBAMAA--.48713S2; Fri, 06 May 2022 18:20:24 +0800 (CST) From: Tiezhu Yang To: Thomas Bogendoerfer , Masami Hiramatsu , Steven Rostedt , Shuah Khan Cc: Xuefeng Li , linux-mips@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/2] Modify some code about kprobe Date: Fri, 6 May 2022 18:20:21 +0800 Message-Id: <1651832423-7932-1-git-send-email-yangtiezhu@loongson.cn> X-Mailer: git-send-email 2.1.0 X-CM-TRANSID: AQAAf9BxENtn9nRiaBAMAA--.48713S2 X-Coremail-Antispam: 1UD129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUYO7AC8VAFwI0_Gr0_Xr1l1xkIjI8I6I8E 6xAIw20EY4v20xvaj40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l8cAvFVAK0II2c7xJM28Cjx kF64kEwVA0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVW5JVW7JwA2z4x0Y4vE2Ix0cI8I cVCY1x0267AKxVW8Jr0_Cr1UM28EF7xvwVC2z280aVAFwI0_GcCE3s1l84ACjcxK6I8E87 Iv6xkF7I0E14v26rxl6s0DM2AIxVAIcxkEcVAq07x20xvEncxIr21l5I8CrVACY4xI64kE 6c02F40Ex7xfMcIj6xIIjxv20xvE14v26r106r15McIj6I8E87Iv67AKxVW8JVWxJwAm72 CE4IkC6x0Yz7v_Jr0_Gr1lF7xvr2IYc2Ij64vIr41lF7I21c0EjII2zVCS5cI20VAGYxC7 MxkIecxEwVAFwVW8twCF04k20xvY0x0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s 026c02F40E14v26r1j6r18MI8I3I0E7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_ Jw0_GFylIxkGc2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20x vEc7CjxVAFwI0_Jr0_Gr1lIxAIcVCF04k26cxKx2IYs7xG6rW3Jr0E3s1lIxAIcVC2z280 aVAFwI0_Jr0_Gr1lIxAIcVC2z280aVCY1x0267AKxVW8JVW8JrUvcSsGvfC2KfnxnUUI43 ZEXa7VUbHa0JUUUUU== X-CM-SenderInfo: p1dqw3xlh2x3gn0dqz5rrqw2lrqou0/ X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org v2: -- only replace __kprobes with NOKPROBE_SYMBOL() in patch #2 -- update the commit messages Tiezhu Yang (2): selftests/ftrace: Save kprobe_events to test log MIPS: Use NOKPROBE_SYMBOL() instead of __kprobes annotation arch/mips/kernel/kprobes.c | 39 ++++++++++++++-------- arch/mips/mm/fault.c | 6 ++-- .../ftrace/test.d/kprobe/multiple_kprobes.tc | 2 ++ 3 files changed, 32 insertions(+), 15 deletions(-) -- 2.1.0