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 050BCC433FE for ; Tue, 11 Oct 2022 16:41:39 +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:MIME-Version:Message-ID:Date:References :In-Reply-To:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=HPvp7uXq5zTUcA2RA6AXd1x9dqLleViCF2xL34ufj3U=; b=CgAr36yN2wDBSw quLf3ta7h9Avhy2sZA/onSGLylxN+/Mv1b08jOkSEbCVGhiD5r91PSFOCD1byblfEXeOv3oym/P3H BWWGn+qHccTDmPBoeE/I/NSVZ7yW5jQ01NOCaXd6cAqx3cI7w3PIT+yxWIASUvU3hMEok2k1UXpMv DmK+ifTFBT49R7oCbZ78r/x1CbvkVA08+YSHfxJRmL+z5C6GX42QF1KtGseRhAfr5sBh/HOxdtw7M U8AtYizafMZvysXyAY+SkFuoWXGRz/DWa9eqlCoFcpgm3umeI0B+LVf8QZQAVDAng8fxdpcelUhdm 2JeqvCPP2XP6mXV0uuEA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oiIJ0-005FKH-Dz; Tue, 11 Oct 2022 16:40:34 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oiIIx-005FIw-Bh for linux-arm-kernel@lists.infradead.org; Tue, 11 Oct 2022 16:40:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1665506430; 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: in-reply-to:in-reply-to:references:references; bh=3pR097ooCx/8nlTemhEf/WDhel/4mmcsp3Jh/tnUV8M=; b=A+FV3O0WHCmo+SwD1nwchs7jR+YgzkGCAwje9Xx3LqMKaKhNYS22PO9aAlAwPJn07I5J2/ kpV/PO/oqIwdn/6o7zffLkdhZI0qNV9qD7Fex2Kug3yazce+8QPRClHb1QT7y44M5ZDAjI W5+8s3e6cgGXu8OzkGbgwLWyS5n4UjQ= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-654-Mjv_PSE9MFmcqX-nd-7jzg-1; Tue, 11 Oct 2022 12:40:29 -0400 X-MC-Unique: Mjv_PSE9MFmcqX-nd-7jzg-1 Received: by mail-wm1-f70.google.com with SMTP id c3-20020a7bc843000000b003b486fc6a40so3914617wml.7 for ; Tue, 11 Oct 2022 09:40:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=3pR097ooCx/8nlTemhEf/WDhel/4mmcsp3Jh/tnUV8M=; b=wlkct4RKGrfA59NC/05qWeUA1FMxk8eg5ifKXr0rHNblYhPjjX9BU7zADVU+jKaSEJ D7ni8Zr/P0qgr82lk80TUneAxnov95jvfnSSiZH/KyhwUC6roCC6RvBvffhAC6Yvs2b7 yKC3viBozlCF4n9zc/KceRPaGjyb8qPtOTp6alobIMVsbT2B0+fCS9jmPw335RD7wj1x x3WemJSKe+LYGLhs5iU3iV9+CQLKo8Ymgx9x0IoD8eeOFbVtVdykrqdoiPaTLverU3rx b6lH+yg43i5eC+wNtrvSD3CJo8WT9EYtSxEmKfL2KEIUNH8ykMm0LC8Ro4MMXTFXUIvk ef8A== X-Gm-Message-State: ACrzQf39R+ceToCfNK4xs6JIUlg28pR5MquywJj+GG8tqI5qW6YkJWnV yASREsJYflWhpwVS4c/ILiu2yWQXLqysjxQxIZPb4RVg+meEaHu7cWSgr+XQKK449rcmMyz17XY c1yRwKem6y63iaRxejeRPZ/WYtCt/2ufyBMQ= X-Received: by 2002:a5d:59a7:0:b0:230:3652:1aa with SMTP id p7-20020a5d59a7000000b00230365201aamr8455605wrr.308.1665506428135; Tue, 11 Oct 2022 09:40:28 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4XCj7SFWdE6E5DxEmMGEk+A0mlMYyEPprqhbmdn8jGtDu/Z9OxlEVw6NK6vPTlYZN68wZltQ== X-Received: by 2002:a5d:59a7:0:b0:230:3652:1aa with SMTP id p7-20020a5d59a7000000b00230365201aamr8455591wrr.308.1665506427912; Tue, 11 Oct 2022 09:40:27 -0700 (PDT) Received: from vschneid.remote.csb ([104.132.153.106]) by smtp.gmail.com with ESMTPSA id y3-20020a7bcd83000000b003a3170a7af9sm7900578wmj.4.2022.10.11.09.40.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Oct 2022 09:40:27 -0700 (PDT) From: Valentin Schneider To: Daniel Bristot de Oliveira 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 Subject: Re: [RFC PATCH 0/5] Generic IPI sending tracepoint In-Reply-To: <3e680bb9-9896-3665-dd59-4f2e6f8205bb@redhat.com> References: <20221007154145.1877054-1-vschneid@redhat.com> <3e680bb9-9896-3665-dd59-4f2e6f8205bb@redhat.com> Date: Tue, 11 Oct 2022 17:40:26 +0100 Message-ID: MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221011_094031_492644_B77B9F8E X-CRM114-Status: GOOD ( 18.02 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 11/10/22 18:22, Daniel Bristot de Oliveira wrote: > 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. > That's a nice idea, the one downside I see is that means registering an event handler for all events with cpumasks rather than directly targeting cpumask fields, but that doesn't look too horrible. I'll dig a bit in that direction. > For rtla I was thinking to make a new tool to parse them. and make it pretty there. > > -- Daniel _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel