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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131115125314.GH10456@twins.programming.kicks-ass.net>
Date:	Fri, 15 Nov 2013 13:53:14 +0100
From:	Peter Zijlstra <peterz@...radead.org>
To:	Adrian Hunter <adrian.hunter@...el.com>
Cc:	Ingo Molnar <mingo@...nel.org>,
	Arnaldo Carvalho de Melo <acme@...radead.org>,
	linux-kernel@...r.kernel.org, David Ahern <dsahern@...il.com>,
	Frederic Weisbecker <fweisbec@...il.com>,
	Ingo Molnar <mingo@...hat.com>, Jiri Olsa <jolsa@...hat.com>,
	Mike Galbraith <efault@....de>,
	Namhyung Kim <namhyung@...il.com>,
	Paul Mackerras <paulus@...ba.org>,
	Stephane Eranian <eranian@...gle.com>,
	Arnaldo Carvalho de Melo <acme@...hat.com>,
	Namhyung Kim <namhyung@...nel.org>
Subject: Re: [PATCH 10/10] perf record: Add an option to force per-cpu mmaps

On Fri, Nov 15, 2013 at 02:52:44PM +0200, Adrian Hunter wrote:
> On 15/11/13 14:03, Peter Zijlstra wrote:
> > On Fri, Nov 15, 2013 at 12:56:29PM +0100, Ingo Molnar wrote:
> >> So, here's the current status quo, there's 4 basic types of profiling 
> >> that 99% of the people are using, in order of popularity:
> >>
> >> 	perf record <cmd>
> >> 	perf record -a sleep N
> >> 	perf record -p <PID>
> >> 	perf record -t <TID>
> >>
> >> The first two (which I'd guess comprise about 95% of real-world usage) 
> >> have inheritance enabled.
> >>
> >> The last two (-p/-t) have inheritance disabled by default.
> > 
> > Yes, and I would expect it to be disabled for the TID option as you
> > explicitly select a single threads.
> 
> So you want -t to imply -i ?
> 
> That means if you want inheritance you have to do
> 
> 	-t <TID> --no-no-inherit
> 
> Or do you want another option --inherit

/me boggles, they're not the same? ;-)

Maybe we should extend the option parser to know that a double negative
is a nop :-)
--
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