perf unwind: Provide only forward declarations for pointer types

No need to drag the headers, helps in untangling them and reducing build
time.

Link: http://lkml.kernel.org/n/tip-l8soqph92duyw5jdha0fij8b@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Arnaldo Carvalho de Melo 2017-04-19 13:28:30 -03:00
parent 07590a7d40
commit 3dfed91026
1 changed files with 6 additions and 3 deletions

View File

@ -1,10 +1,13 @@
#ifndef __UNWIND_H
#define __UNWIND_H
#include <linux/compiler.h>
#include <linux/types.h>
#include "event.h"
#include "symbol.h"
#include "thread.h"
struct map;
struct perf_sample;
struct symbol;
struct thread;
struct unwind_entry {
struct map *map;