From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AD5CEC433FE for ; Tue, 11 Oct 2022 16:24:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=VUdz9M8iccNlYV7u3plFV5YJUFXLuKAF/t54lrP9kZA=; b=rqbDY3MFcatdcb P7HaUbfKWxnyRCwO24K0DbGPRW18U/vulKC3fABRdOD1BW8qfEj8vJc+nORXHQg61f7ORUz4owhPm lY3+AJBr4KnaZOht1BvNVJQsio0psfNTzsdJSUDUZEXD0pF7aVuR3ZKIm5E29UB0mNhcSHwIKvgyl J4V0KHeuR2gXarnp2Ygk0IlGYeapV0fOopx8AOqTH3RbKLc0m/MmJgbhuv1uhNrrnAYo6EqHvDOMy sPLW2ZAEgu2aAb+xexuvrzN15PTkoyGfQ7gnjdx/QAsK1yY0PllMGj9CnoZzbY6EKLo8Dt07/P6ur j+aMlQYyZTrX2F/oIeIw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oiI3S-005ChY-En; Tue, 11 Oct 2022 16:24:30 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oiI2j-005CQh-Pr for linux-snps-arc@lists.infradead.org; Tue, 11 Oct 2022 16:23:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1665505422; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6gv22bmoTax0J0zhnmYTJUdzNvY/rZYRIc0hd8rouMg=; b=LRY6MDkL1FSVWQVxuAJnTx6sM89Z2if2LaB1RiWbHBIYRj7Mj97W6hfxISk0sngoJjkUUw GnXQTJukvlIaJ2wWg2PxGQBmBr3hudt0Jz/x818R345uAZe5cB+0ar0V7e8vsKdsSY4bAo zvwzhBObKjWCB9PLl3RC99A5zqOE+nI= Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-612-IfEqy8YkMcC6tq2vTBCarw-1; Tue, 11 Oct 2022 12:22:07 -0400 X-MC-Unique: IfEqy8YkMcC6tq2vTBCarw-1 Received: by mail-ed1-f72.google.com with SMTP id dz21-20020a0564021d5500b004599f697666so11508189edb.18 for ; Tue, 11 Oct 2022 09:22:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=6gv22bmoTax0J0zhnmYTJUdzNvY/rZYRIc0hd8rouMg=; b=i7+HpbxY3NzZ6P5x0csRQBEUl9707AG8aOXohUOXkQpnnBGOWBdTVJs53ETZvUXP8j U3h8kW6JqWvsRGi4R9g2rRlV6p0g4H8lbdr7hDKOw0jmxkgu/VLP2suzDK7zMuTLWwbg CSEFmAml5lJ1LKSU67U9/05Yf5hayXvkwHQWhNbR/mVfbneNj5m1tOR6PtehYebNHBcq jOHwbQwOQio8WzPoy5AA2LqImfz9R/+tVoGS6KqK74B5a/mvs6dDP5lrjRKIJomzQVSH C01C0MoI6chfeaRR2vGww36MptMgZNaXC+DWtj2Rh+lc/LB9JM/Tvs1m4tskxx+Ce7Mx Bqqw== X-Gm-Message-State: ACrzQf1P8tNHg6cCKzSvV64KLHRG1RCBabK77Mk7a3UvhNR0bCZp6Wud cjHOwzyHqfp1CnTAqWG8//13uDf9+95QONMuWGADMyOsMzT2PdUY0bSpldkObgWuPWHm51vEKEA 8OchZjXH6Dofwm7mhal40n/J2ofHUyvcY X-Received: by 2002:a17:907:2712:b0:78d:a223:729b with SMTP id w18-20020a170907271200b0078da223729bmr11697121ejk.443.1665505325954; Tue, 11 Oct 2022 09:22:05 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5z3+5ecaWwqYPDE234CAcuf3hKc1qLTNOp8VUNiMDwybT1F6EbMEGGKCCgL+v4lylioGXOig== X-Received: by 2002:a17:907:2712:b0:78d:a223:729b with SMTP id w18-20020a170907271200b0078da223729bmr11697097ejk.443.1665505325743; Tue, 11 Oct 2022 09:22:05 -0700 (PDT) Received: from [192.168.0.198] (host-79-47-205-133.retail.telecomitalia.it. [79.47.205.133]) by smtp.gmail.com with ESMTPSA id xf13-20020a17090731cd00b00730b3bdd8d7sm7273113ejb.179.2022.10.11.09.22.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 11 Oct 2022 09:22:05 -0700 (PDT) Message-ID: <3e680bb9-9896-3665-dd59-4f2e6f8205bb@redhat.com> Date: Tue, 11 Oct 2022 18:22:03 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 Subject: Re: [RFC PATCH 0/5] Generic IPI sending tracepoint To: Valentin Schneider Cc: linux-alpha@vger.kernel.org, linux-kernel@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-csky@vger.kernel.org, linux-hexagon@vger.kernel.org, linux-ia64@vger.kernel.org, loongarch@lists.linux.dev, linux-mips@vger.kernel.org, openrisc@lists.librecores.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, linux-xtensa@linux-xtensa.org, x86@kernel.org, "Paul E. McKenney" , Steven Rostedt , Peter Zijlstra , Thomas Gleixner , Sebastian Andrzej Siewior , Juri Lelli , Frederic Weisbecker , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , Marc Zyngier , Mark Rutland , Russell King , Nicholas Piggin , Marcelo Tosatti , Guo Ren , "David S. Miller" , Douglas RAILLARD References: <20221007154145.1877054-1-vschneid@redhat.com> From: Daniel Bristot de Oliveira In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221011_092345_958361_60922917 X-CRM114-Status: GOOD ( 12.52 ) X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux on Synopsys ARC Processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+linux-snps-arc=archiver.kernel.org@lists.infradead.org On 10/11/22 18:17, Valentin Schneider wrote: > Thinking out loud, it makes way more sense to record a cpumask in the > tracepoint, but perhaps we could have a postprocessing step to transform > those into N events each targeting a single CPU? My approach on the tracers/rtla is to make the simple things in kernel, and beautify things in user-space. You could keep the tracepoint as a mask, and then make it pretty, like cpus=3-5,8 in user-space. For example with a trace-cmd/perf loadable plugin, libtracefs helper. For rtla I was thinking to make a new tool to parse them. and make it pretty there. -- Daniel _______________________________________________ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc