Re: [PATCH V3] tracing/timerlat: Hotplug support for the user-space interface

2023-10-04 Thread Steven Rostedt
On Wed, 4 Oct 2023 08:17:31 -0400 Steven Rostedt wrote: > #!/bin/bash > > find_debugfs() { > debugfs=`cat /proc/mounts | while read mount dir type opts a b; do > if [ $mount == "debugfs" ]; then I guess I should update this to look for tracefs. This script is actually older than trace

Re: [PATCH V3] tracing/timerlat: Hotplug support for the user-space interface

2023-10-04 Thread Steven Rostedt
On Wed, 4 Oct 2023 12:02:52 +0200 Daniel Bristot de Oliveira wrote: > On 10/4/23 03:03, Steven Rostedt wrote: > > On Fri, 29 Sep 2023 17:02:46 +0200 > > Daniel Bristot de Oliveira wrote: > > > >> The osnoise/per_cpu/CPU$/timerlat_fd is create for each possible > >> CPU, but it might create co

Re: [PATCH V3] tracing/timerlat: Hotplug support for the user-space interface

2023-10-04 Thread Daniel Bristot de Oliveira
On 10/4/23 03:03, Steven Rostedt wrote: > On Fri, 29 Sep 2023 17:02:46 +0200 > Daniel Bristot de Oliveira wrote: > >> The osnoise/per_cpu/CPU$/timerlat_fd is create for each possible >> CPU, but it might create confusion if the CPU is not online. >> >> Create the file only for online CPUs, also f

Re: [PATCH V3] tracing/timerlat: Hotplug support for the user-space interface

2023-10-03 Thread Steven Rostedt
On Fri, 29 Sep 2023 17:02:46 +0200 Daniel Bristot de Oliveira wrote: > The osnoise/per_cpu/CPU$/timerlat_fd is create for each possible > CPU, but it might create confusion if the CPU is not online. > > Create the file only for online CPUs, also follow hotplug by > creating and deleting as CPUs