From: Denis Kirjanov <dkirjanov@kernel.org>
To: linux-kernel@vger.kernel.org
Cc: mingo@elte.hu, acme@ghostprotocols.net
Subject: [PATCH] perftools: builtin-top: Use pid_t for target_{pid|tid}
Date: Sat, 5 Feb 2011 20:39:38 +0000 [thread overview]
Message-ID: <20110205203938.GA15328@hera.kernel.org> (raw)
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
next reply other threads:[~2011-02-05 20:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-05 20:39 Denis Kirjanov [this message]
2011-02-08 15:16 ` [tip:perf/core] perf top: Use pid_t for target_{pid|tid} tip-bot for Denis Kirjanov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110205203938.GA15328@hera.kernel.org \
--to=dkirjanov@kernel.org \
--cc=acme@ghostprotocols.net \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.