perf tools: Support data block and addr block
[linux-2.6-microblaze.git] / tools / perf / util / hist.h
index 96b1c13..3788391 100644 (file)
@@ -53,9 +53,11 @@ enum hist_column {
        HISTC_DSO_TO,
        HISTC_LOCAL_WEIGHT,
        HISTC_GLOBAL_WEIGHT,
+       HISTC_CODE_PAGE_SIZE,
        HISTC_MEM_DADDR_SYMBOL,
        HISTC_MEM_DADDR_DSO,
        HISTC_MEM_PHYS_DADDR,
+       HISTC_MEM_DATA_PAGE_SIZE,
        HISTC_MEM_LOCKED,
        HISTC_MEM_TLB,
        HISTC_MEM_LVL,
@@ -70,6 +72,7 @@ enum hist_column {
        HISTC_SYM_SIZE,
        HISTC_DSO_SIZE,
        HISTC_SYMBOL_IPC,
+       HISTC_MEM_BLOCKED,
        HISTC_NR_COLS, /* Last entry */
 };
 
@@ -196,7 +199,7 @@ void hists__inc_nr_samples(struct hists *hists, bool filtered);
 size_t hists__fprintf(struct hists *hists, bool show_header, int max_rows,
                      int max_cols, float min_pcnt, FILE *fp,
                      bool ignore_callchains);
-size_t perf_evlist__fprintf_nr_events(struct evlist *evlist, FILE *fp);
+size_t evlist__fprintf_nr_events(struct evlist *evlist, FILE *fp);
 
 void hists__filter_by_dso(struct hists *hists);
 void hists__filter_by_thread(struct hists *hists);
@@ -464,12 +467,9 @@ int hist_entry__tui_annotate(struct hist_entry *he, struct evsel *evsel,
                             struct hist_browser_timer *hbt,
                             struct annotation_options *annotation_opts);
 
-int perf_evlist__tui_browse_hists(struct evlist *evlist, const char *help,
-                                 struct hist_browser_timer *hbt,
-                                 float min_pcnt,
-                                 struct perf_env *env,
-                                 bool warn_lost_event,
-                                 struct annotation_options *annotation_options);
+int evlist__tui_browse_hists(struct evlist *evlist, const char *help, struct hist_browser_timer *hbt,
+                            float min_pcnt, struct perf_env *env, bool warn_lost_event,
+                            struct annotation_options *annotation_options);
 
 int script_browse(const char *script_opt, struct evsel *evsel);
 
@@ -483,13 +483,13 @@ int block_hists_tui_browse(struct block_hist *bh, struct evsel *evsel,
                           struct annotation_options *annotation_opts);
 #else
 static inline
-int perf_evlist__tui_browse_hists(struct evlist *evlist __maybe_unused,
-                                 const char *help __maybe_unused,
-                                 struct hist_browser_timer *hbt __maybe_unused,
-                                 float min_pcnt __maybe_unused,
-                                 struct perf_env *env __maybe_unused,
-                                 bool warn_lost_event __maybe_unused,
-                                 struct annotation_options *annotation_options __maybe_unused)
+int evlist__tui_browse_hists(struct evlist *evlist __maybe_unused,
+                            const char *help __maybe_unused,
+                            struct hist_browser_timer *hbt __maybe_unused,
+                            float min_pcnt __maybe_unused,
+                            struct perf_env *env __maybe_unused,
+                            bool warn_lost_event __maybe_unused,
+                            struct annotation_options *annotation_options __maybe_unused)
 {
        return 0;
 }