Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1899430rwl; Thu, 6 Apr 2023 03:01:06 -0700 (PDT) X-Google-Smtp-Source: AKy350ZNlFqtRkhFnOIr4alOJ4BF75Za3McJTQEbSMKWBBzDjlIE7kEqbcDmvcz9WhOHHY0Zln4c X-Received: by 2002:a17:90a:1485:b0:23d:5196:eca8 with SMTP id k5-20020a17090a148500b0023d5196eca8mr10529231pja.20.1680775265892; Thu, 06 Apr 2023 03:01:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680775265; cv=none; d=google.com; s=arc-20160816; b=Gx8h+qsn77JEZAA/PlaYEl5mscoRi5fee3VjwkpEnaYx9esV5PzjGfzjZIjJAhGn72 hi9p7xN/M5ClAQMZDSwh45qe+mAY799Im+8j2Pnf9VPnA76IMhxRL11HdZ8k0m5svbnB 3IsLXVvzTHRXRr4im9w07D1KrJTTYAWPbW+oFfTTy3URiCIEppT7wXswJJI8gBSRrbPH OI9YIzaG8pITsZTGXMoGY3pBr9wfqOZgQxER2CQd2Q7+RwuwOzYCGgw1PBaD5rf6aWzV ISCBIrCC0WAr5Zg6nVVc/vk6WRgEe/Bv+jqAdYjwy1DBfrkHDE+xNwtS6Yd155DN2S0A rdCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=YxhRL3yiAbFaoSIURbLJJRHKJGjYXkeVxmnQ/pEnBmY=; b=kDk40Zu0gVWGNjOMDwgaG9VoViMUF7zs84oun4zMQHc+yXhB5XewCCNNKnUijx2ii3 RKm7iVX3h+guk01GGhY/ALdMmAJW9idoIMYA3gtmNxVGNinOmUlA8OogyJSRBqgHDu1D a1hvgPxId/UX2ggOJHY9VN2heWxPu1MhFMOnipr4WMb9sN56Gyqn/GoS76T8HXf8Dqdr nzlE9QpjguaiOFK5x7pcCFh6+ym/y94Xc1P/omoD3u4vhXFronjxq8c3Bs724VR+o7Ac FLDGXjm9A1UqNrUoAZhWbL4M/62ouUbHONXv1FCWTo6kJSRDheOyS6QycXAWovHPicT5 ArRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=jGkaZVBO; 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 n19-20020a17090b0d1300b00240f454a59asi911717pjz.139.2023.04.06.03.00.53; Thu, 06 Apr 2023 03:01: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; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=jGkaZVBO; 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 S236791AbjDFJ5r (ORCPT + 99 others); Thu, 6 Apr 2023 05:57:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235037AbjDFJ5U (ORCPT ); Thu, 6 Apr 2023 05:57:20 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF771213B; Thu, 6 Apr 2023 02:55:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=YxhRL3yiAbFaoSIURbLJJRHKJGjYXkeVxmnQ/pEnBmY=; b=jGkaZVBOG3JXDwyQnR5K3g7hz/ 2ptks3zFH6B32uTi1CJ187m0NUIOvTwd4CvbInPMwVIBAPC+p2DKBfy/J2kLaA/fxIEf0a0HR4Mfs FxgSqwl17h+5IdMBqA0/qX5e6Y7epVv5hRgeFOvyVHmfodi3Cii3INJTSk1Nv1uZ7L7hZkqvyLD4J 4ehW5fGpIMn3gvJkcfDEB1qAy/Xgwrn+wwKGDl1s7fcnsJVGImxEUmrUWAotaLMgyE9OFK2Yyre4G eiSXzS/tsczaroxHZ9QV16yIcr5pxeB1fIBzpIhoHTT+ra48irTEDlcBncZDNBXA0vVpfckFTAsfB oMqihneg==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1pkML1-00AUXC-1c; Thu, 06 Apr 2023 09:55:27 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 20E2F30008D; Thu, 6 Apr 2023 11:55:20 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 04F7520B6A7D6; Thu, 6 Apr 2023 11:55:19 +0200 (CEST) Date: Thu, 6 Apr 2023 11:55:19 +0200 From: Peter Zijlstra To: Leonardo Bras Cc: Steven Rostedt , Masami Hiramatsu , Thomas Gleixner , Yury Norov , "Paul E. McKenney" , Sebastian Andrzej Siewior , Nadav Amit , Zhen Lei , Chen Zhongjin , linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, Marcelo Tosatti Subject: Re: [RFC PATCH 1/1] smp: Add tracepoints for functions called with smp_call_function*() Message-ID: <20230406095519.GG386572@hirez.programming.kicks-ass.net> References: <20230406075718.68672-1-leobras@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230406075718.68672-1-leobras@redhat.com> X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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 Thu, Apr 06, 2023 at 04:57:18AM -0300, Leonardo Bras wrote: > When running RT workloads in isolated CPUs, many cases of deadline misses > are caused by remote CPU requests such as smp_call_function*(). > > For those cases, having the names of those functions running around the > deadline miss moment could help finding a target for the next improvements. > > Add tracepoints for acquiring the funtion name & argument before entry and > after exitting the called function. > > Signed-off-by: Leonardo Bras How are the patches queued there not sufficient? https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/log/?h=smp/core