public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] [GIT PULL] tracing: three more updates
@ 2019-12-05  2:04 Steven Rostedt
  2019-12-05  2:05 ` [PATCH 1/3] tracing: Fix __print_hex_dump scope Steven Rostedt
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Steven Rostedt @ 2019-12-05  2:04 UTC (permalink / raw)
  To: linux-kernel; +Cc: Linus Torvalds, Ingo Molnar, Andrew Morton


Linus,

Two fixes and one patch that was missed:

 Fixes:

  - Missing __print_hex_dump undef for processing new function in trace events
  - Stop WARN_ON messages when lockdown disables tracing on boot up

 Enhancement:

  - Debug option to inject trace events from userspace (for rasdaemon)

The enhancement has its own config option and is non invasive. It's been
discussed for sever months and should have been added to my original
push, but I never pulled it into my queue.

Please pull the latest trace-v5.5-2 tree, which can be found at:


  git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git
trace-v5.5-2

Tag SHA1: 075c954bfa42bcd2dad254f1fe6fcd81197512de
Head SHA1: a356646a56857c2e5ad875beec734d7145ecd49a


Cong Wang (1):
      tracing: Introduce trace event injection

Piotr Maziarz (1):
      tracing: Fix __print_hex_dump scope

Steven Rostedt (VMware) (1):
      tracing: Do not create directories if lockdown is in affect

----
 include/trace/trace_events.h       |   1 +
 kernel/trace/Kconfig               |   9 +
 kernel/trace/Makefile              |   1 +
 kernel/trace/ring_buffer.c         |   6 +
 kernel/trace/trace.c               |  17 ++
 kernel/trace/trace.h               |   1 +
 kernel/trace/trace_events.c        |   6 +
 kernel/trace/trace_events_inject.c | 331 +++++++++++++++++++++++++++++++++++++
 8 files changed, 372 insertions(+)
 create mode 100644 kernel/trace/trace_events_inject.c

^ permalink raw reply	[flat|nested] 8+ messages in thread
* [PATCH 0/3] [GIT PULL] tracing: Three more updates
@ 2016-05-22 20:28 Steven Rostedt
  0 siblings, 0 replies; 8+ messages in thread
From: Steven Rostedt @ 2016-05-22 20:28 UTC (permalink / raw)
  To: linux-kernel; +Cc: Linus Torvalds, Ingo Molnar, Andrew Morton


Linus,

Three more changes.

1) I forgot that I had another selftest to stress test the ftrace
   instance creation. It was actually suppose to go into the 4.6
   merge window, but I never committed it. I almost forgot about it
   again, but noticed it was missing from your tree.

2) Soumya PN sent me a clean up patch to not disable interrupts when
   taking the tasklist_lock for read, as it's unnecessary because
   that lock is never taken for write in irq context.

3) Newer gcc's can cause the jump in the function_graph code to the
   global ftrace_stub label to be a short jump instead of a long one.
   As that jump is dynamically converted to jump to the trace code to
   do function graph tracing, and that conversion expects a long jump
   it can corrupt the ftrace_stub itself (it's directly after that call).
   One way to prevent gcc from using a short jump is to declare the
   ftrace_stub as a weak function, which we do here to keep gcc from
   optimizing too much.

Please pull the latest trace-v4.7-2 tree, which can be found at:


  git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git
trace-v4.7-2

Tag SHA1: 01ed489ad3660b3813d93d63b0b9258e08b15f7f
Head SHA1: 8329e818f14926a6040df86b2668568bde342ebf


Soumya PN (1):
      ftrace: Don't disable irqs when taking the tasklist_lock read_lock

Steven Rostedt (1):
      ftrace/x86: Set ftrace_stub to weak to prevent gcc from using short jumps to it

Steven Rostedt (Red Hat) (1):
      ftracetest: Add instance created, delete, read and enable event test

----
 arch/x86/kernel/mcount_64.S                        |   3 +-
 kernel/trace/ftrace.c                              |   5 +-
 .../ftrace/test.d/instances/instance-event.tc      | 143 +++++++++++++++++++++
 3 files changed, 147 insertions(+), 4 deletions(-)
 create mode 100644 tools/testing/selftests/ftrace/test.d/instances/instance-event.tc

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-01-10 17:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-05  2:04 [PATCH 0/3] [GIT PULL] tracing: three more updates Steven Rostedt
2019-12-05  2:05 ` [PATCH 1/3] tracing: Fix __print_hex_dump scope Steven Rostedt
2019-12-05  2:05 ` [PATCH 2/3] tracing: Introduce trace event injection Steven Rostedt
2019-12-05  2:05 ` [PATCH 3/3] tracing: Do not create directories if lockdown is in affect Steven Rostedt
2020-01-10 16:31   ` Steven Rostedt
2020-01-10 16:54     ` Greg KH
2020-01-10 17:02       ` Steven Rostedt
  -- strict thread matches above, loose matches on Subject: below --
2016-05-22 20:28 [PATCH 0/3] [GIT PULL] tracing: Three more updates Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox