Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp574119ybk; Wed, 20 May 2020 06:55:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyLP872EIPd/Bz2jg3IImf7cfg8tsu/XgUHOORmGYUmPDFcgTpD8qY9UZFlXqTZQ0kzCD09 X-Received: by 2002:a50:8d57:: with SMTP id t23mr3604834edt.168.1589982946139; Wed, 20 May 2020 06:55:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589982946; cv=none; d=google.com; s=arc-20160816; b=eclnTf3HCi7lUyhrTb2L1O5QCAs90EglaIJbzD03FxBg91htW0J2KcBRRlvSCX/01P DVufEkO5rgbILqWRx1SGUvmowjZYpknaDF1w3binsCffDd7HwroNPFIw+EQXrelX+7c8 27a/hXY1MDkokKPszK8D/3yEZGB+Un1rykNqSUAm26sbF2BBeRtuOZpQTEJU/rywhM57 c4fnyS3Ns2ILcLU899yiVjfTxdft3vXKFrSo02tmk4kC5mj2+QkF9vL0q8lx5d9qqIA/ 6eBd/fD53rQrINy+u0roshbNsnIxUuWrOqEthI/CCkcFgPKtUg3YukauZj6xUoOKq8MG o98A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=yBybNw2E8Wk9T2bxznOviopA8hXH53LZwxJyPHMtaDE=; b=atmvIoFnRG+QoFhqMx7R4a9fA05gpg3/QFx+Fg6O5miHtKwO26PzM3lLKuxhl0ogNZ 6hPmy5eC4DaJgPWIg0KLT5cDL8N6ZtJ5IVbOYvC+TcQbth4fpf7WTdjazd3rzABCo0Nc yyHtUSmnawRJ0uyVvwKhLKMVQ6FbULQCTP2KObwEQ2iF55KqsaIr0bMP8oRoWxGQbXyQ oVv+vrQNWTabnywsqQSnqh/uvLyDdIruIcOHXAKyNnT1J5NqN7Yi7qNFv7uSy/tdhDor YoNS+9hNYGTGjJjPAHw9KvjKQXbyfYMCKpCsQHk0aSsVbHUDR0GeLBNIjTiVsDm8wcBN ZdTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b="3ha7/j71"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a20si1453596edm.473.2020.05.20.06.55.23; Wed, 20 May 2020 06:55:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b="3ha7/j71"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726832AbgETNwA (ORCPT + 99 others); Wed, 20 May 2020 09:52:00 -0400 Received: from merlin.infradead.org ([205.233.59.134]:45330 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726510AbgETNwA (ORCPT ); Wed, 20 May 2020 09:52:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; 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=yBybNw2E8Wk9T2bxznOviopA8hXH53LZwxJyPHMtaDE=; b=3ha7/j71/xP3wJoW7+nDofZrSi PPVOmUHmIdooz2qhok0HrC0KDAo6KNsgHowMQ0jA0uZV4DfvJFJa/pgqx8BFXn4O9rF27ze9AUa1E hD0d9AuQyltjP3jFj9biw0x3OGlJ+lP+AFwXdAXvGu36VjpiSnw1l2bif+PTexmjcdJWJTys5iASI SxQJa9K+3xn8UDseoXoYXunmEU5HZdWpnX1+iGO922sMh1TaufOu6i2/ZgrSyZmutryGAX+/fvrbW +uJG7iMGh/RLO71rrVYSzfyANsUj3DCHPj9MHC24bjWepzgmt4DDHE9bBmtEPZs9w+NHmTalb4XmB qEWc6mFQ==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jbP8X-0001wC-Jw; Wed, 20 May 2020 13:51:57 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 6638B305EEE; Wed, 20 May 2020 15:51:56 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 51F4C29DB5073; Wed, 20 May 2020 15:51:56 +0200 (CEST) Date: Wed, 20 May 2020 15:51:56 +0200 From: Peter Zijlstra To: Wojciech Kudla Cc: linux-kernel@vger.kernel.org, Thomas Gleixner , Nadav Amit , Greg Kroah-Hartman Subject: Re: [PATCH] smp: generic ipi_raise tracepoint Message-ID: <20200520135156.GO317569@hirez.programming.kicks-ass.net> References: <02b57f31-fc0c-df35-57bf-e0a297a7e6c4@gmail.com> <20200520133350.GN317569@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 20, 2020 at 02:42:10PM +0100, Wojciech Kudla wrote: > On 20/05/2020 14:33, Peter Zijlstra wrote: > > We have bright shiny links like: https://lkml.kernel.org/r/$MSG-ID for > > that. they allow me to go find the email in my local archive without > > having to use a browser. > > Apologies, beginner's mistake. > > >> +static const char *ipi_reason_missing __tracepoint_string = ""; > > > > That is a pretty crap reason ;-) > > > > I knew this was a long shot. There is no obvious way to > get/infer ipi reason in generic smp code at the moment. > Any suggestions what we can put here in the meantime? > Would "none" be more appropriate? Depends a bit on what you actually want to achieve here. For actual proper debugging this stuff I think I'd find it more useful to have tracepoints one level up. So instead of tracing the IPIs, trace the actual remote function call requests. And in that case, trace the mask and the symbol name from csd->func. And if you have that, who cares about the actual IPIs.