Commit 40f3b2d2 authored by Arnaldo Carvalho de Melo's avatar Arnaldo Carvalho de Melo
Browse files

perf namespaces: Remove namespaces.h from .h headers

There we need just forward declarations, so remove it and add it just on
the .c files that actually touch the struct definitions.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-wsjxzt99p83jubt6hu0med0f@git.kernel.org


Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 68c0188e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@

#include "perf.h"
#include "builtin.h"
#include "namespaces.h"
#include "util/util.h"
#include "util/strlist.h"
#include "util/strfilter.h"
+1 −0
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@
#include <sys/types.h>
#include "build-id.h"
#include "event.h"
#include "namespaces.h"
#include "symbol.h"
#include "thread.h"
#include <linux/kernel.h>
+2 −1
Original line number Diff line number Diff line
@@ -6,9 +6,10 @@
#define SBUILD_ID_SIZE	(BUILD_ID_SIZE * 2 + 1)

#include "tool.h"
#include "namespaces.h"
#include <linux/types.h>

struct nsinfo;

extern struct perf_tool build_id__mark_dso_hit_ops;
struct dso;
struct feat_fd;
+1 −0
Original line number Diff line number Diff line
@@ -10,6 +10,7 @@
#include <fcntl.h>
#include <libgen.h>
#include "compress.h"
#include "namespaces.h"
#include "path.h"
#include "symbol.h"
#include "srcline.h"
+1 −1
Original line number Diff line number Diff line
@@ -10,9 +10,9 @@
#include <stdio.h>
#include "rwsem.h"
#include <linux/bitops.h>
#include "namespaces.h"
#include "build-id.h"

struct machine;
struct map;

enum dso_binary_type {
Loading