perf hist: Adopt filter by dso and by thread methods from the newt browser
[deliverable/linux.git] / tools / perf / util / hist.h
index 1b18d04195dcab69a441b66f9a9ba30e2b7ce287..1c5f93ac5ab72767b7e059a5f0ed180ae0609b6f 100644 (file)
@@ -44,4 +44,19 @@ void hists__output_resort(struct hists *self);
 void hists__collapse_resort(struct hists *self);
 size_t hists__fprintf(struct hists *self, struct hists *pair,
                      bool show_displacement, FILE *fp);
+
+void hists__filter_by_dso(struct hists *self, const struct dso *dso);
+void hists__filter_by_thread(struct hists *self, const struct thread *thread);
+
+#ifdef NO_NEWT_SUPPORT
+static inline int hists__browse(struct hists self __used,
+                               const char *helpline __used,
+                               const char *input_name __used)
+{
+       return 0;
+}
+#else
+int hists__browse(struct hists *self, const char *helpline,
+                 const char *input_name);
+#endif
 #endif /* __PERF_HIST_H */
This page took 0.027932 seconds and 5 git commands to generate.