All of lore.kernel.org
 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

* [tip:perf/core] perf top: Use pid_t for target_{pid|tid}
  2011-02-05 20:39 [PATCH] perftools: builtin-top: Use pid_t for target_{pid|tid} Denis Kirjanov
@ 2011-02-08 15:16 ` tip-bot for Denis Kirjanov
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Denis Kirjanov @ 2011-02-08 15:16 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: acme, linux-kernel, hpa, mingo, dkirjanov, tglx, mingo

Commit-ID:  ef4d001d79ac4bab6c2d81e9986a42059f877ec3
Gitweb:     http://git.kernel.org/tip/ef4d001d79ac4bab6c2d81e9986a42059f877ec3
Author:     Denis Kirjanov <dkirjanov@kernel.org>
AuthorDate: Sat, 5 Feb 2011 20:39:38 +0000
Committer:  Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Mon, 7 Feb 2011 09:10:15 -0200

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

^ 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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.