Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2807473rwi; Tue, 11 Oct 2022 13:44:57 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6jTuivQBjnK6jgOgqqx65Go8i2/puMuWpeJMTxeSxYDBNlUKKLDkVxhp1yheyNf9JqT84T X-Received: by 2002:a17:906:58c7:b0:722:f4bf:cb75 with SMTP id e7-20020a17090658c700b00722f4bfcb75mr20265725ejs.450.1665521097326; Tue, 11 Oct 2022 13:44:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665521097; cv=none; d=google.com; s=arc-20160816; b=sYnB0/Axg4UwEavM3i1hUPKDQm1Zk3MpOhSn/1gjIc9v1lrQDPefjDOPvxPpDBsqV1 8lRMwmWnu50YvLb8nGCrExn1ldDKO70nGhO66mI6fOHwyegQQ9fpb4gBAtZDNiMifeY2 IOqi5Pp6iGDq53CNAKxMeWDNrlq1Aq5hLFcX2NDWIOnTtBrpsvI9BGBwUBms2IHoHEPD BM6Ab8QMzFyhVB4FjypW+ugOTnyvObgfgvwxdfctnxHlsUHy1j79hGS/dWLBesmEjxam JmQ0Y/SsSB1iSKJPqd0g7Wcw8OPNNw0u6OKGGvNnmZ+r+PxCmwWOg7KLTJcCx94CZv7q czYQ== 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=IZvRwFBX7aRJTqfNGQArIk68xkA6mpvyFB8RDyuQTvE=; b=gTSTCdR6UnQUsZH3QfQn9/RHmQHPXzdjaEu5jng+WeupRLOH+0LGp0iXdJHNLyuET2 0wmR1p5n3TT9B/NUV9Rb2HojUOz0qm8c30HycEcCNYbTsUUMLfj0FjG8k+xqlw+s4d9M Ys+J8/5t7lSoykaDJbs5HLvH/KOyFi6QgQo2HYDxW13ZWk6LOv5xrJA5Q/KMwfxuhNSn mxga/4wY3T5P/dQgDJ1VrVnI9m76xoMtaJ7S6IKOy0uVfgafX//c8o7U6Zy9y+18uRli +ohPp0gMPyyBwsZSpcPoDRnB8ne5O/DRtJeoZCAkacfZ29fSbTss0uTbe8u6lpzCuC4p iXjw== 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 n8-20020a05640205c800b004585e0f44fesi13744376edx.60.2022.10.11.13.44.30; Tue, 11 Oct 2022 13:44:57 -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 S229762AbiJKUl5 (ORCPT + 99 others); Tue, 11 Oct 2022 16:41:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229504AbiJKUl4 (ORCPT ); Tue, 11 Oct 2022 16:41:56 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9AB9C71BC1; Tue, 11 Oct 2022 13:41:54 -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 4DE87B8169A; Tue, 11 Oct 2022 20:41:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E8570C433C1; Tue, 11 Oct 2022 20:41:44 +0000 (UTC) Date: Tue, 11 Oct 2022 16:41:43 -0400 From: Steven Rostedt To: Valentin Schneider Cc: Daniel Bristot de Oliveira , 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" , 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 Message-ID: <20221011164143.52c84421@rorschach.local.home> In-Reply-To: References: <20221007154145.1877054-1-vschneid@redhat.com> <3e680bb9-9896-3665-dd59-4f2e6f8205bb@redhat.com> 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 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 Tue, 11 Oct 2022 17:40:26 +0100 Valentin Schneider wrote: > > 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. We could just make all all dynamic array's of unsigned long use that format? I don't know of any other event that has dynamic arrays of unsigned longs. And doing a search doesn't come up with any. -- Steve