[PATCH 2/9] perf top: Use pid_t for target_{pid|tid}

From: Arnaldo Carvalho de Melo
Date: Mon Feb 07 2011 - 10:02:06 EST


From: Denis Kirjanov <dkirjanov@xxxxxxxxxx>

Use pid_t data type for target_{pid|tid} vars.

Cc: Ingo Molnar <mingo@xxxxxxx>
LKML-Reference: <20110205203938.GA15328@xxxxxxxxxxxxxxx>
Signed-off-by: Denis Kirjanov <dkirjanov@xxxxxxxxxx>
[ committer note: those variables are now in struct perf_top, fixed ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
---
tools/perf/util/top.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/perf/util/top.h b/tools/perf/util/top.h
index fe44afb..62e3293 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;
--
1.6.2.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/