summaryrefslogtreecommitdiff
path: root/tools/perf/util/top.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2012-01-26 12:11:41 +0100
committerIngo Molnar <mingo@elte.hu>2012-01-26 12:11:41 +0100
commit939ddcfa60dabfaed390987bf0103a6654c0fe30 (patch)
treebaa9b89a2b268d99496805f761ab9a00c272c0dc /tools/perf/util/top.h
parent96070c83b295b31912ad92d3ffb66baec2b86d50 (diff)
parentf8f4b2872295dca88339ec0c403b2217b1197353 (diff)
Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
Pull in the latest perf/core improvements and fixes. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/util/top.h')
-rw-r--r--tools/perf/util/top.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/top.h b/tools/perf/util/top.h
index a248f3c2c60..def3e53e0fe 100644
--- a/tools/perf/util/top.h
+++ b/tools/perf/util/top.h
@@ -24,6 +24,7 @@ struct perf_top {
int print_entries, count_filter, delay_secs;
int freq;
pid_t target_pid, target_tid;
+ uid_t uid;
bool hide_kernel_symbols, hide_user_symbols, zero;
bool system_wide;
bool use_tui, use_stdio;
@@ -45,6 +46,7 @@ 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);