diff options
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-12-21 14:24:58 -0500 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-12-21 19:10:34 -0500 |
commit | 533b5d04400d926c688b7b2e1066163d1a7a4bd2 (patch) | |
tree | 3e7f1e99ca340cb89815aa25dd4bf65ef4333bc1 | |
parent | 8b7cab926760cfce6066895cc1fc8872c048539c (diff) | |
download | kernel-shark-533b5d04400d926c688b7b2e1066163d1a7a4bd2.tar.gz |
kernel-shark: Rename tracefs_get_tracing_dir() to the new tracefs_tracing_dir()
libtracefs is renaming tracefs_get_tracing_dir() to tracefs_tracing_dir() as
there is no "tracefs_put_tracing_dir()" for this function. Since libtracefs
has not been officially released, it is fine to break API, as it is with
kernelshark v2.0 has not yet been official released that uses the old API.
Link: https://lore.kernel.org/linux-trace-devel/20201221142458.5d5607c6@gandalf.local.home
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
-rw-r--r-- | src/KsCaptureDialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/KsCaptureDialog.cpp b/src/KsCaptureDialog.cpp index 63fd5d6e..7253ab68 100644 --- a/src/KsCaptureDialog.cpp +++ b/src/KsCaptureDialog.cpp @@ -26,7 +26,7 @@ extern "C" { static inline tep_handle *local_events() { - return tracefs_local_events(tracefs_get_tracing_dir()); + return tracefs_local_events(tracefs_tracing_dir()); } /** @@ -204,7 +204,7 @@ QStringList KsCaptureControl::_getPlugins() QStringList pluginList; char **all_plugins; - all_plugins = tracefs_tracers(tracefs_get_tracing_dir()); + all_plugins = tracefs_tracers(tracefs_tracing_dir()); if (!all_plugins) return pluginList; |