Re: [PATCH v13 3/6] tracing: Add snapshot refcount

2024-02-05 Thread Steven Rostedt
On Tue, 30 Jan 2024 10:32:45 + Vincent Donnefort wrote: > > All errors (new ones prefixed by >>): > > > >kernel/trace/trace.c: In function 'tracing_set_tracer': > >kernel/trace/trace.c:6644:17: error: implicit declaration of function > > 'tracing_disarm_snapshot_locked'; did you mea

Re: [PATCH v13 3/6] tracing: Add snapshot refcount

2024-01-30 Thread Vincent Donnefort
s/Vincent-Donnefort/ring-buffer-Zero-ring-buffer-sub-buffers/20240129-223025 > base: 29142dc92c37d3259a33aef15b03e6ee25b0d188 > patch link: > https://lore.kernel.org/r/20240129142802.2145305-4-vdonnefort%40google.com > patch subject: [PATCH v13 3/6] tracing: Add snapshot refcount &

Re: [PATCH v13 3/6] tracing: Add snapshot refcount

2024-01-30 Thread kernel test robot
: 29142dc92c37d3259a33aef15b03e6ee25b0d188 patch link: https://lore.kernel.org/r/20240129142802.2145305-4-vdonnefort%40google.com patch subject: [PATCH v13 3/6] tracing: Add snapshot refcount config: arc-randconfig-002-20240130 (https://download.01.org/0day-ci/archive/20240130/202401301740.qzzlpcyv-...@intel.com

[PATCH v13 3/6] tracing: Add snapshot refcount

2024-01-29 Thread Vincent Donnefort
When a ring-buffer is memory mapped by user-space, no trace or ring-buffer swap is possible. This means the snapshot feature is mutually exclusive with the memory mapping. Having a refcount on snapshot users will help to know if a mapping is possible or not. Signed-off-by: Vincent Donnefort diff