~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/tools/perf/util/top.h

Version: ~ [ linux-5.3-rc4 ] ~ [ linux-5.2.8 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.66 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.138 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.189 ] ~ [ linux-4.8.17 ] ~ [ linux-4.7.10 ] ~ [ linux-4.6.7 ] ~ [ linux-4.5.7 ] ~ [ linux-4.4.189 ] ~ [ linux-4.3.6 ] ~ [ linux-4.2.8 ] ~ [ linux-4.1.52 ] ~ [ linux-4.0.9 ] ~ [ linux-3.19.8 ] ~ [ linux-3.18.140 ] ~ [ linux-3.17.8 ] ~ [ linux-3.16.71 ] ~ [ linux-3.15.10 ] ~ [ linux-3.14.79 ] ~ [ linux-3.13.11 ] ~ [ linux-3.12.74 ] ~ [ linux-3.11.10 ] ~ [ linux-3.10.108 ] ~ [ linux-3.9.11 ] ~ [ linux-3.8.13 ] ~ [ linux-3.7.10 ] ~ [ linux-3.6.11 ] ~ [ linux-3.5.7 ] ~ [ linux-3.4.113 ] ~ [ linux-3.3.8 ] ~ [ linux-3.2.102 ] ~ [ linux-3.1.10 ] ~ [ linux-3.0.101 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.5 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  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 
  9 struct perf_evlist;
 10 struct perf_evsel;
 11 struct perf_session;
 12 
 13 struct perf_top {
 14         struct perf_tool   tool;
 15         struct perf_evlist *evlist;
 16         /*
 17          * Symbols will be added here in perf_event__process_sample and will
 18          * get out after decayed.
 19          */
 20         u64                samples;
 21         u64                kernel_samples, us_samples;
 22         u64                exact_samples;
 23         u64                guest_us_samples, guest_kernel_samples;
 24         int                print_entries, count_filter, delay_secs;
 25         int                freq;
 26         const char         *target_pid, *target_tid;
 27         uid_t              uid;
 28         bool               hide_kernel_symbols, hide_user_symbols, zero;
 29         bool               system_wide;
 30         bool               use_tui, use_stdio;
 31         bool               sort_has_symbols;
 32         bool               dont_use_callchains;
 33         bool               kptr_restrict_warned;
 34         bool               vmlinux_warned;
 35         bool               inherit;
 36         bool               group;
 37         bool               sample_id_all_missing;
 38         bool               exclude_guest_missing;
 39         bool               dump_symtab;
 40         const char         *cpu_list;
 41         struct hist_entry  *sym_filter_entry;
 42         struct perf_evsel  *sym_evsel;
 43         struct perf_session *session;
 44         struct winsize     winsize;
 45         unsigned int       mmap_pages;
 46         int                default_interval;
 47         int                realtime_prio;
 48         int                sym_pcnt_filter;
 49         const char         *sym_filter;
 50         const char         *uid_str;
 51 };
 52 
 53 size_t perf_top__header_snprintf(struct perf_top *top, char *bf, size_t size);
 54 void perf_top__reset_sample_counters(struct perf_top *top);
 55 #endif /* __PERF_TOP_H */
 56 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | Wiki (Japanese) | Wiki (English) | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

osdn.jp