[PATCH 0/2] Fix trace remotes read with an offline CPU

Vincent Donnefort posted 2 patches 4 hours ago
There is a newer version of this series
kernel/trace/trace_remote.c                   | 21 ++++-
.../selftests/ftrace/test.d/remotes/functions | 15 +++-
.../ftrace/test.d/remotes/hotplug.tc          | 86 +++++++++++++++++++
.../test.d/remotes/hypervisor/hotplug.tc      | 11 +++
.../selftests/ftrace/test.d/remotes/trace.tc  | 27 +-----
.../ftrace/test.d/remotes/trace_pipe.tc       | 25 ------
6 files changed, 129 insertions(+), 56 deletions(-)
create mode 100644 tools/testing/selftests/ftrace/test.d/remotes/hotplug.tc
create mode 100644 tools/testing/selftests/ftrace/test.d/remotes/hypervisor/hotplug.tc
[PATCH 0/2] Fix trace remotes read with an offline CPU
Posted by Vincent Donnefort 4 hours ago
This small series is fixing non-consuming read of a trace remote when the
trace_buffer is created after a CPU is offline.

It also extends hotplug testing coverage to include this test case.

I have based this series on top of kvmarm/next which contains the hypervisor
tracing patches.

Vincent Donnefort (2):
  tracing: Non-consuming read for trace remotes with an offline CPU
  tracing: selftests: Extend hotplug testing for trace remotes

 kernel/trace/trace_remote.c                   | 21 ++++-
 .../selftests/ftrace/test.d/remotes/functions | 15 +++-
 .../ftrace/test.d/remotes/hotplug.tc          | 86 +++++++++++++++++++
 .../test.d/remotes/hypervisor/hotplug.tc      | 11 +++
 .../selftests/ftrace/test.d/remotes/trace.tc  | 27 +-----
 .../ftrace/test.d/remotes/trace_pipe.tc       | 25 ------
 6 files changed, 129 insertions(+), 56 deletions(-)
 create mode 100644 tools/testing/selftests/ftrace/test.d/remotes/hotplug.tc
 create mode 100644 tools/testing/selftests/ftrace/test.d/remotes/hypervisor/hotplug.tc


base-commit: 5ad2ff071b5980f072a85c8114649218971c586e
-- 
2.53.0.1118.gaef5881109-goog