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: <87r4e81u8w.fsf@sejong.aot.lge.com>
Date:	Mon, 05 Aug 2013 16:17:51 +0900
From:	Namhyung Kim <namhyung@...nel.org>
To:	Arnaldo Carvalho de Melo <acme@...stprotocols.net>
Cc:	Namhyung Kim <namhyung.kim@....com>,
	Peter Zijlstra <a.p.zijlstra@...llo.nl>,
	Paul Mackerras <paulus@...ba.org>,
	Ingo Molnar <mingo@...nel.org>,
	LKML <linux-kernel@...r.kernel.org>,
	Steven Rostedt <rostedt@...dmis.org>,
	Frederic Weisbecker <fweisbec@...il.com>,
	Jiri Olsa <jolsa@...hat.com>, David Ahern <dsahern@...il.com>,
	Stephane Eranian <eranian@...gle.com>,
	Jeremy Eder <jeder@...hat.com>
Subject: Re: [PATCH 01/17] perf util: Save pid-cmdline mapping into tracing header

Hi Arnaldo,

On Wed, 31 Jul 2013 11:07:46 -0300, Arnaldo Carvalho de Melo wrote:
> Em Wed, Jul 31, 2013 at 09:51:54AM +0900, Namhyung Kim escreveu:
>> 2013-07-30 오후 10:28, Arnaldo Carvalho de Melo 쓴 글:
>> >Em Tue, Jul 30, 2013 at 06:18:58PM +0900, Namhyung Kim escreveu:
>> >>Current trace info data lacks the saved cmdline mapping which is
>> >>needed for pevent to find out the comm of a task.  Add this and bump
>> >>up the version number so that perf can determine its presence when
>> >>reading.
>
>> >Can't we get this from the PERF_RECORD_COMM synthesized at the beginning
>> >of the session + the kernel generated ones for new threads?
>
>> >We would just call machine__find_thread() and use thread->comm, etc, no?
>
>> Yes, I think it's doable.  However it needs an additional perf event
>> only to generate the COMM events.  So I decided not to do it and
>
> I don't think this is a problem, its in line with Ingo's suggestion of a
> new perf ioctl to ask the kernel to generate PERF_RECORD_MMAP events for
> existing threads.

Hmm.. could you please give me a link of the thread?

And what kind of event should be used then?

Thanks,
Namhyung
--
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