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.orgSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
上级 07590a7d
#ifndef __UNWIND_H #ifndef __UNWIND_H
#define __UNWIND_H #define __UNWIND_H
#include <linux/compiler.h>
#include <linux/types.h> #include <linux/types.h>
#include "event.h"
#include "symbol.h" struct map;
#include "thread.h" struct perf_sample;
struct symbol;
struct thread;
struct unwind_entry { struct unwind_entry {
struct map *map; struct map *map;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册