perf ui hists: Pass evsel to hpp->header/width functions explicitly
[deliverable/linux.git] / tools / perf / util / hist.h
index 9e1cada45bb8d496aa87fca4c22e14a586f2a2aa..0c76bf972736606142f0a84284906fe74b1a2e3b 100644 (file)
@@ -132,8 +132,10 @@ struct perf_hpp {
 };
 
 struct perf_hpp_fmt {
-       int (*header)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp);
-       int (*width)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp);
+       int (*header)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
+                     struct perf_evsel *evsel);
+       int (*width)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
+                    struct perf_evsel *evsel);
        int (*color)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
                     struct hist_entry *he);
        int (*entry)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
This page took 0.035101 seconds and 5 git commands to generate.