diff mbox series

KernelShark: Remove unneeded libtracecmd dependencies

Message ID 20201112114417.1250217-1-tz.stoyanov@gmail.com (mailing list archive)
State New
Headers show
Series KernelShark: Remove unneeded libtracecmd dependencies | expand

Commit Message

Tzvetomir Stoyanov (VMware) Nov. 12, 2020, 11:44 a.m. UTC
From: Tzvetomir (VMware)  Stoyanov <tz.stoyanov@gmail.com>

Remove unused "trace-cmd.h" includes.

Signed-off-by: Tzvetomir (VMware)  Stoyanov <tz.stoyanov@gmail.com>
---
 src/KsAdvFilteringDialog.cpp | 3 ---
 src/KsCaptureDialog.hpp      | 3 ---
 src/plugins/KVMCombo.cpp     | 3 ---
 src/plugins/sched_events.c   | 4 ++--
 4 files changed, 2 insertions(+), 11 deletions(-)
diff mbox series

Patch

diff --git a/src/KsAdvFilteringDialog.cpp b/src/KsAdvFilteringDialog.cpp
index 7f404b8..9f4cc9b 100644
--- a/src/KsAdvFilteringDialog.cpp
+++ b/src/KsAdvFilteringDialog.cpp
@@ -9,9 +9,6 @@ 
  *  @brief   GUI Dialog for Advanced filtering settings.
  */
 
-// trace-cmd
-#include "trace-cmd/trace-cmd.h"
-
 // KernelShark
 #include "libkshark.h"
 #include "libkshark-tepdata.h"
diff --git a/src/KsCaptureDialog.hpp b/src/KsCaptureDialog.hpp
index e86b47f..fe6a2a6 100644
--- a/src/KsCaptureDialog.hpp
+++ b/src/KsCaptureDialog.hpp
@@ -15,9 +15,6 @@ 
 // Qt
 #include <QtWidgets>
 
-// trace-cmd
-#include "trace-cmd/trace-cmd.h"
-
 // KernelShark
 #include "KsWidgetsLib.hpp"
 
diff --git a/src/plugins/KVMCombo.cpp b/src/plugins/KVMCombo.cpp
index bc3c6b0..25deefd 100644
--- a/src/plugins/KVMCombo.cpp
+++ b/src/plugins/KVMCombo.cpp
@@ -12,9 +12,6 @@ 
 // C++
 #include <iostream>
 
-// trace-cmd
-#include "trace-cmd/trace-cmd.h"
-
 // KernelShark
 #include "libkshark.h"
 #include "libkshark-tepdata.h"
diff --git a/src/plugins/sched_events.c b/src/plugins/sched_events.c
index 5a46932..034ffa0 100644
--- a/src/plugins/sched_events.c
+++ b/src/plugins/sched_events.c
@@ -14,8 +14,8 @@ 
 #include <stdio.h>
 #include <assert.h>
 
-// trace-cmd
-#include "trace-cmd/trace-cmd.h"
+// libtraceevent
+#include "traceevent/event-parse.h"
 
 // KernelShark
 #include "plugins/sched_events.h"