summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/top.h
diff options
context:
space:
mode:
authorDenis Kirjanov <dkirjanov@kernel.org>2011-02-05 21:39:38 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2011-02-07 12:10:15 +0100
commitef4d001d79ac4bab6c2d81e9986a42059f877ec3 (patch)
treeebf7dec93f6650f26e981b20fc14fa0f5fa547b7 /tools/perf/util/top.h
parentperf tools: Makefile: Use $(QUIET_GEN) for perf.so (diff)
downloadlinux-ef4d001d79ac4bab6c2d81e9986a42059f877ec3.tar.xz
linux-ef4d001d79ac4bab6c2d81e9986a42059f877ec3.zip
perf top: Use pid_t for target_{pid|tid}
Use pid_t data type for target_{pid|tid} vars. Cc: Ingo Molnar <mingo@elte.hu> LKML-Reference: <20110205203938.GA15328@hera.kernel.org> Signed-off-by: Denis Kirjanov <dkirjanov@kernel.org> [ committer note: those variables are now in struct perf_top, fixed ] Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/top.h')
-rw-r--r--tools/perf/util/top.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/top.h b/tools/perf/util/top.h
index fe44afb69985..62e32939f3d1 100644
--- a/tools/perf/util/top.h
+++ b/tools/perf/util/top.h
@@ -46,8 +46,8 @@ struct perf_top {
u64 exact_samples;
u64 guest_us_samples, guest_kernel_samples;
int print_entries, count_filter, delay_secs;
- int display_weighted, freq, rb_entries;
- int sym_counter, target_pid, target_tid;
+ int display_weighted, freq, rb_entries, sym_counter;
+ pid_t target_pid, target_tid;
bool hide_kernel_symbols, hide_user_symbols, zero;
const char *cpu_list;
struct perf_evsel *sym_evsel;