[PATCH] perftools: builtin-top: Use pid_t for target_{pid|tid}

From: Denis Kirjanov
Date: Sat Feb 05 2011 - 15:39:51 EST


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

Signed-off-by: Denis Kirjanov <dkirjanov@xxxxxxxxxx>
---
tools/perf/builtin-top.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/perf/builtin-top.c b/tools/perf/builtin-top.c
index b6998e0..e4ea084 100644
--- a/tools/perf/builtin-top.c
+++ b/tools/perf/builtin-top.c
@@ -67,8 +67,8 @@ static int default_interval = 0;
static int count_filter = 5;
static int print_entries;

-static int target_pid = -1;
-static int target_tid = -1;
+static pid_t target_pid = -1;
+static pid_t target_tid = -1;
static struct thread_map *threads;
static bool inherit = false;
static struct cpu_map *cpus;
--
1.7.3.4

--
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/