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
Родитель 07590a7d40
Коммит 3dfed91026
1 изменённых файлов: 6 добавлений и 3 удалений

Просмотреть файл

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