perf test: Add round trip test for sw and hw event names
[firefly-linux-kernel-4.4.55.git] / tools / perf / util / top.h
index ce61cb2d1acf61bcdf8ceeef1f51efe056a7c7dc..33347ca89ee4077559f9bd2284c135b586bc7bba 100644 (file)
@@ -13,6 +13,7 @@ struct perf_session;
 struct perf_top {
        struct perf_tool   tool;
        struct perf_evlist *evlist;
+       struct perf_target target;
        /*
         * Symbols will be added here in perf_event__process_sample and will
         * get out after decayed.
@@ -23,10 +24,7 @@ struct perf_top {
        u64                guest_us_samples, guest_kernel_samples;
        int                print_entries, count_filter, delay_secs;
        int                freq;
-       const char         *target_pid, *target_tid;
-       uid_t              uid;
        bool               hide_kernel_symbols, hide_user_symbols, zero;
-       bool               system_wide;
        bool               use_tui, use_stdio;
        bool               sort_has_symbols;
        bool               dont_use_callchains;
@@ -37,7 +35,6 @@ struct perf_top {
        bool               sample_id_all_missing;
        bool               exclude_guest_missing;
        bool               dump_symtab;
-       const char         *cpu_list;
        struct hist_entry  *sym_filter_entry;
        struct perf_evsel  *sym_evsel;
        struct perf_session *session;
@@ -47,7 +44,6 @@ struct perf_top {
        int                realtime_prio;
        int                sym_pcnt_filter;
        const char         *sym_filter;
-       const char         *uid_str;
 };
 
 size_t perf_top__header_snprintf(struct perf_top *top, char *bf, size_t size);