Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3096245pxp; Tue, 22 Mar 2022 12:00:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJylroz36hWdRjprU7KRNNKj+VodyJltnpnG8QcXJkI4IHniIzP46jYmj/z1h5o71zIOfhqo X-Received: by 2002:a50:f68a:0:b0:418:e6e8:5ee2 with SMTP id d10-20020a50f68a000000b00418e6e85ee2mr29845658edn.190.1647975605580; Tue, 22 Mar 2022 12:00:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647975605; cv=none; d=google.com; s=arc-20160816; b=U2HhG9P9ci5BpmmWRIH0tbt2XG+Q9d4EthHvHJn7H56ib6CV8sbagw/1jcQ11IiYHP 0/lbv6MaUthEar68QTUBn6nJwFvv90+goEXwr1d7RJPDD41w6G+ZaK3Rh/23mtTffMNI rO9ZJQrWTIiJjZLpy2HiOKZ8hX56uQe7nC/DKoNqPsbZqv8omkPMjVBHblDMV5kGLygv VHxSK5SoAp+d2tPUgQo17WFfkfW1BnfkPg+rYULEg5SUgm9dzujg+UYpJDpW8DEmjIRA 0uCDueHoLQ+dC3BUT+bywlAtAuza+lASBqtbwH7jmucwqGVNq/6A10k35VyQohC6718S 5O+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=4b/fVsOM+TWQsC0K6UgMxgpkMb3M9I0uGnr3IH24++c=; b=NXEEwwOeKm40pwSsADxe+Mt9o+NfCPEFm5011rqKg4RNAI+V3nDhDMau2Gacuh/HoM jmEtops2ckclnw8BaNcBtspHwksHX8kGzZqy7L97JEIXFpgxjS5wTfTQT3ixO015AJHO hIcRp+GYbJUJaKwpgusB+Pi82q3zL45lGwo8oUmTNkQ23yFnz1OwedkjY9+49xR/uqsW RRqTCNe3RGlv8BIMTFh6qtSwfpCttQI61rrDWjsmIFe3SuSWgV/hsTFtxLc0VWuRzF49 hPC4MhPBxviviKS9mMl50xhFWasK1jfZIyzR7wFiEj62ojC5VGPivaIRqqUITSj4zUIu F1uA== 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 cw14-20020a170906478e00b006dfaf4466e5si3354817ejc.223.2022.03.22.11.59.39; Tue, 22 Mar 2022 12:00:05 -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 S235086AbiCVNAz (ORCPT + 99 others); Tue, 22 Mar 2022 09:00:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235057AbiCVNAu (ORCPT ); Tue, 22 Mar 2022 09:00:50 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ADDE05EBC7; Tue, 22 Mar 2022 05:59:21 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id B4898B81CE8; Tue, 22 Mar 2022 12:59:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C2637C340EE; Tue, 22 Mar 2022 12:59:16 +0000 (UTC) Date: Tue, 22 Mar 2022 08:59:15 -0400 From: Steven Rostedt To: Namhyung Kim Cc: Peter Zijlstra , Boqun Feng , Ingo Molnar , Will Deacon , Waiman Long , LKML , Thomas Gleixner , Byungchul Park , "Paul E. McKenney" , Mathieu Desnoyers , Arnd Bergmann , Radoslaw Burny , linux-arch , bpf Subject: Re: [PATCH 2/2] locking: Apply contention tracepoints in the slow path Message-ID: <20220322085915.6c2e7ff9@gandalf.local.home> In-Reply-To: References: <20220316224548.500123-1-namhyung@kernel.org> <20220316224548.500123-3-namhyung@kernel.org> <20220318180750.744f08d4@gandalf.local.home> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,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 On Mon, 21 Mar 2022 22:31:30 -0700 Namhyung Kim wrote: > > Thanks for the info. But it's unclear to me if it provides the custom > > event with the same or different name. Can I use both of the original > > and the custom events at the same time? Sorry, missed your previous question. > > I've read the code and understood that it's a separate event that can > be used together. Then I think we can leave the tracepoint with the > return value and let users customize it for their needs later. Right, thanks for looking deeper at it. -- Steve