Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp968748iob; Fri, 13 May 2022 18:03:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxy3R2W3lIXens0mWwjwgQ/zO5TVku/uCNrGF5LVq0TMCydOXrMN9zHOTaKy/FtiW3bX2/U X-Received: by 2002:a5d:5228:0:b0:20a:d7e9:7ed8 with SMTP id i8-20020a5d5228000000b0020ad7e97ed8mr5629161wra.687.1652490227684; Fri, 13 May 2022 18:03:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652490227; cv=none; d=google.com; s=arc-20160816; b=vKptzLWua6n9u8+GM9EC67PCskmxNWn8upEOak+wHH3CUE3p4PDEjg986iog/Svbny D2JfGHHMnU91/3/iP4wEQ5z5WCP0TMnk9eEA6qVIuwPBNtqhl9MhbKY/VXPWCot0H4qn pORUP7NvCfMhv4/4+J4DxiqAJvt1BOqSBhX8fWmSs4oLMCtlAtQgSxKwo9YT9W8Hz+ut Rs1uBjHsNvC10jFdAdhYBmzDsu/YNC+ekeBksNAedup3iD/Hjz3u/ZsocQRpoExr5cI3 lvX1taNHo6aJmGTBSAF9aJuzK3AC4tZCLXTch5DGrtoJdege+NMinx2Glmh245LPGkP3 PE4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=j8cNmlOWIkXpI2OLRZ46G0ElnEZlg4eP1gpVU7UB0l4=; b=IPcbSOFk5kozCu2vHTNpdyXfxldaiTG4c6WKqdv+DkwSgZOODuIrKxDTFkYbCqXuHg Qk8yUDlNlipuKKkL/rg8nK9SD59HYZr1UCfYuLTItObqzZ/8hx0eZE1U1ZdKp0Ezibjp ZzN9cJnyrBCYS4sz5weRVAk9ssmjZNeGEPBTZNSWXzy9mFdWyA7Wx5/yMzHGezU6iKq7 PzRIDCFia0TJvMSWuajUyk27KH4dMkHVR3iHGsK5QFn+5d6go4OQMSAwcAsPjI0TMdmb m7mm+qDHxa6eLBK3uuL/CwCmEDciEmRrkj3KHN2LTN4f3eLPFe9A1y/zyPIoGdmRQK/i 1yKQ== 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:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id c12-20020adffb0c000000b0020abcb542dcsi3717420wrr.730.2022.05.13.18.03.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 18:03:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8C27B37319A; Fri, 13 May 2022 16:36:57 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1356324AbiELQMI (ORCPT + 99 others); Thu, 12 May 2022 12:12:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1356318AbiELQLr (ORCPT ); Thu, 12 May 2022 12:11:47 -0400 Received: from elvis.franken.de (elvis.franken.de [193.175.24.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CB39366696; Thu, 12 May 2022 09:11:42 -0700 (PDT) Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1npBPf-0001Vm-04; Thu, 12 May 2022 18:11:39 +0200 Received: by alpha.franken.de (Postfix, from userid 1000) id 5C79DC01DC; Thu, 12 May 2022 18:10:54 +0200 (CEST) Date: Thu, 12 May 2022 18:10:54 +0200 From: Thomas Bogendoerfer To: Tiezhu Yang Cc: Masami Hiramatsu , Steven Rostedt , Shuah Khan , Xuefeng Li , linux-mips@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 0/2] Modify some code about kprobe Message-ID: <20220512161054.GE14475@alpha.franken.de> References: <1651834923-31573-1-git-send-email-yangtiezhu@loongson.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1651834923-31573-1-git-send-email-yangtiezhu@loongson.cn> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 On Fri, May 06, 2022 at 07:02:01PM +0800, Tiezhu Yang wrote: > v3: no need to change post_kprobe_handler() in patch #2 now, > sorry for the carelessness. > > 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 | 36 ++++++++++++++-------- > arch/mips/mm/fault.c | 6 ++-- > .../ftrace/test.d/kprobe/multiple_kprobes.tc | 2 ++ > 3 files changed, 30 insertions(+), 14 deletions(-) > > -- > 2.1.0 seires applied to mips-next. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]