linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Tzvetomir Stoyanov (VMware)" <tz.stoyanov@gmail.com>
To: rostedt@goodmis.org
Cc: linux-trace-devel@vger.kernel.org
Subject: [PATCH] KernelShark: Remove unneeded libtracecmd dependencies
Date: Thu, 12 Nov 2020 13:44:17 +0200	[thread overview]
Message-ID: <20201112114417.1250217-1-tz.stoyanov@gmail.com> (raw)

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 --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


                 reply	other threads:[~2020-11-12 11:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201112114417.1250217-1-tz.stoyanov@gmail.com \
    --to=tz.stoyanov@gmail.com \
    --cc=linux-trace-devel@vger.kernel.org \
    --cc=rostedt@goodmis.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).