[PATCH] KernelShark: Remove unneeded libtracecmd dependencies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Tzvetomir (VMware)  Stoyanov <tz.stoyanov@xxxxxxxxx>

Remove unused "trace-cmd.h" includes.

Signed-off-by: Tzvetomir (VMware)  Stoyanov <tz.stoyanov@xxxxxxxxx>
---
 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 --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"
-- 
2.28.0




[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux