[PATCH 0/5 v4]Kernel Access to Ftrace instances.

From: Divya Indi
Date: Wed Aug 14 2019 - 13:56:10 EST


In addition to patches introduced by commit f45d1225adb0 "tracing: Kernel
access to Ftrace instances") we also need the following patches to reliably
access ftrace instances from other kernel modules or components.

This version addresses the review comments/suggestions received for v3.

Please review the patches that follow.

Divya Indi (5):
tracing: Declare newly exported APIs in include/linux/trace.h
tracing: Verify if trace array exists before destroying it.
tracing: Adding NULL checks
tracing: Handle the trace array ref counter in new functions
tracing: New functions for kernel access to Ftrace instances

include/linux/trace.h | 10 +++++
include/linux/trace_events.h | 3 +-
kernel/trace/trace.c | 88 ++++++++++++++++++++++++++++++++++++++++++--
kernel/trace/trace.h | 4 +-
kernel/trace/trace_events.c | 25 ++++++++++++-
5 files changed, 121 insertions(+), 9 deletions(-)

--
1.8.3.1