linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Yordan Karadzhov (VMware)" <y.karadz@gmail.com>
To: rostedt@goodmis.org
Cc: linux-trace-devel@vger.kernel.org,
	"Yordan Karadzhov (VMware)" <y.karadz@gmail.com>
Subject: [PATCH 1/4] trace-cmd: Header files management in trace-hash.h
Date: Sat, 16 Jun 2018 00:21:28 +0300	[thread overview]
Message-ID: <20180615212131.28121-2-y.karadz@gmail.com> (raw)
In-Reply-To: <20180615212131.28121-1-y.karadz@gmail.com>

The unnecessary inclusion of trace-hash-local.h and list.h is
removed from trace-cmd/trace-hash.h, because this header file
is part of the public interface of the library.

Signed-off-by: Yordan Karadzhov (VMware) <y.karadz@gmail.com>
---
 include/trace-cmd/trace-hash.h | 3 ---
 tracecmd/trace-hist.c          | 1 +
 tracecmd/trace-profile.c       | 2 ++
 tracecmd/trace-read.c          | 1 +
 4 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/include/trace-cmd/trace-hash.h b/include/trace-cmd/trace-hash.h
index 2529f4d..8cf0710 100644
--- a/include/trace-cmd/trace-hash.h
+++ b/include/trace-cmd/trace-hash.h
@@ -20,9 +20,6 @@
 #ifndef _TRACE_HASH_H
 #define _TRACE_HASH_H
 
-#include "trace-hash-local.h"
-#include "list.h"
-
 struct trace_hash_item {
 	struct trace_hash_item	*next;
 	struct trace_hash_item	*prev;
diff --git a/tracecmd/trace-hist.c b/tracecmd/trace-hist.c
index 2a2e780..7cd338c 100644
--- a/tracecmd/trace-hist.c
+++ b/tracecmd/trace-hist.c
@@ -28,6 +28,7 @@
 #include <getopt.h>
 #include <signal.h>
 
+#include "trace-hash-local.h"
 #include "trace-local.h"
 #include "list.h"
 
diff --git a/tracecmd/trace-profile.c b/tracecmd/trace-profile.c
index a2bb3fc..94ee453 100644
--- a/tracecmd/trace-profile.c
+++ b/tracecmd/trace-profile.c
@@ -28,6 +28,8 @@
 #endif
 #include "trace-local.h"
 #include "trace-hash.h"
+#include "trace-hash-local.h"
+#include "list.h"
 
 #include <linux/time64.h>
 
diff --git a/tracecmd/trace-read.c b/tracecmd/trace-read.c
index 6360273..9177ff4 100644
--- a/tracecmd/trace-read.c
+++ b/tracecmd/trace-read.c
@@ -37,6 +37,7 @@
 
 #include "trace-local.h"
 #include "trace-hash.h"
+#include "trace-hash-local.h"
 #include "kbuffer.h"
 #include "list.h"
 
-- 
2.17.1

  reply	other threads:[~2018-06-15 21:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-15 21:21 [PATCH 0/4]trace-filter: Detach trace-filter-hash from KS GUI Yordan Karadzhov (VMware)
2018-06-15 21:21 ` Yordan Karadzhov (VMware) [this message]
2018-06-15 21:21 ` [PATCH 2/4] trace-filter: Remove the Gtk dependency in trace-filter-hash Yordan Karadzhov (VMware)
2018-06-15 21:21 ` [PATCH 3/4] trace-filter: Change the naming convention used " Yordan Karadzhov (VMware)
2018-06-18 15:24   ` Steven Rostedt
2018-06-19 13:13     ` Yordan Karadzhov (VMware)
2018-06-15 21:21 ` [PATCH 4/4] trace-filter: Change the hashing function used when filtering Yordan Karadzhov (VMware)
2018-06-18 15:28   ` Steven Rostedt

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=20180615212131.28121-2-y.karadz@gmail.com \
    --to=y.karadz@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).