Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
top.h
Go to the documentation of this file.
1 #ifndef __PERF_TOP_H
2 #define __PERF_TOP_H 1
3 
4 #include "tool.h"
5 #include "types.h"
6 #include <stddef.h>
7 #include <stdbool.h>
8 #include <termios.h>
9 
10 struct perf_evlist;
11 struct perf_evsel;
12 struct perf_session;
13 
14 struct perf_top {
15  struct perf_tool tool;
18  /*
19  * Symbols will be added here in perf_event__process_sample and will
20  * get out after decayed.
21  */
27  int freq;
34  bool inherit;
35  bool group;
42  struct winsize winsize;
43  unsigned int mmap_pages;
47  const char *sym_filter;
48 };
49 
50 size_t perf_top__header_snprintf(struct perf_top *top, char *bf, size_t size);
52 #endif /* __PERF_TOP_H */