linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] perftools: builtin-top: Use pid_t for target_{pid|tid}
@ 2011-02-05 20:39 Denis Kirjanov
  2011-02-08 15:16 ` [tip:perf/core] perf top: " tip-bot for Denis Kirjanov
  0 siblings, 1 reply; 2+ messages in thread
From: Denis Kirjanov @ 2011-02-05 20:39 UTC (permalink / raw)
  To: linux-kernel; +Cc: mingo, acme

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-02-08 15:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-05 20:39 [PATCH] perftools: builtin-top: Use pid_t for target_{pid|tid} Denis Kirjanov
2011-02-08 15:16 ` [tip:perf/core] perf top: " tip-bot for Denis Kirjanov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).