From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Bristot de Oliveira Date: Tue, 11 Oct 2022 16:22:03 +0000 Subject: Re: [RFC PATCH 0/5] Generic IPI sending tracepoint Message-Id: <3e680bb9-9896-3665-dd59-4f2e6f8205bb@redhat.com> List-Id: References: <20221007154145.1877054-1-vschneid@redhat.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 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