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

2023-09-24 Thread kernel test robot
Hello, kernel test robot noticed "WARNING:possible_recursive_locking_detected" on: commit: d2618f89d9ede5e14fd2eb2d140fff1d31f4948b ("[PATCH V2] tracing/timerlat: Hotplug support for the user-space interface") url: https://github.com/intel-lab-lkp/linux/commits/Daniel

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

2023-09-20 Thread Daniel Bristot de Oliveira
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 come and go. Fixes: e88ed227f639 ("tracing/timerlat: Add user-space interface")