Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1380349

[PATCH v2 0/5] tracing: Make event triggers affect correct instance

From Howard Cochran <hcochran@kernelspring.com>
Newsgroups linux.kernel
Subject [PATCH v2 0/5] tracing: Make event triggers affect correct instance
Date 2016-04-16 00:40 +0200
Message-ID <rokz7-1OV-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


This is version 2 of the patches to make tracing event triggers affect
the correct instance rather than always the top-level instance. The sum
of these patches is identical to version 1, but this version fixes an
error in patch #1 that the kbuild test robot found.

Original Description:
Although all of the trace event triggers can be used in instances, most
of them affect the top-level instance even when triggered from within an
instance. This patch set makes them affect the instance in which the
trigger occurred. The enable_event & disable_event triggers already work
within the correct instance, so these are unchanged.

The same problem also exists with the function probe triggers, but they
will be fixed in a later patch set.

Patch 1 is preparatory.
Patch 2 fixes the stacktrace event trigger
Patch 3 fixes the traceon & traceoff event triggers
Patch 4 fixes the snapshot event trigger
Patch 5 Makes related warning messages also go to the correct instance

 kernel/trace/trace.c                | 96 +++++++++++++++++++++++++------------
 kernel/trace/trace.h                | 14 +++++-
 kernel/trace/trace_events_trigger.c | 62 ++++++++++++++----------
 3 files changed, 113 insertions(+), 59 deletions(-)

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/5] tracing: Make event triggers affect correct instance Howard Cochran <hcochran@kernelspring.com> - 2016-04-16 00:40 +0200
  [PATCH v2 5/5] tracing: Make internal_trace_puts() write to correct instance Howard Cochran <hcochran@kernelspring.com> - 2016-04-16 00:40 +0200
  [PATCH v2 2/5] tracing: Make stacktrace trigger affect the correct instance Howard Cochran <hcochran@kernelspring.com> - 2016-04-16 00:40 +0200
  [PATCH v2 4/5] tracing: Make snapshot trigger affect the correct instance Howard Cochran <hcochran@kernelspring.com> - 2016-04-16 00:40 +0200

csiph-web