Messages in this thread Patch in this message | | | Date | Sat, 5 Feb 2011 20:39:38 +0000 | From | Denis Kirjanov <> | Subject | [PATCH] perftools: builtin-top: Use pid_t for target_{pid|tid} |
| |
Use pid_t data type for target_{pid|tid} vars.
Signed-off-by: Denis Kirjanov <dkirjanov@kernel.org> --- 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
| |