lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 5 Feb 2011 20:39:38 +0000
From:	Denis Kirjanov <dkirjanov@...nel.org>
To:	linux-kernel@...r.kernel.org
Cc:	mingo@...e.hu, acme@...stprotocols.net
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@...nel.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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ