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: <4A336700.3060309@linux.vnet.ibm.com>
Date:	Sat, 13 Jun 2009 01:44:48 -0700
From:	Corey Ashford <cjashfor@...ux.vnet.ibm.com>
To:	Paul Mackerras <paulus@...ba.org>
CC:	LKML <linux-kernel@...r.kernel.org>, Ingo Molnar <mingo@...e.hu>,
	Peter Zijlstra <a.p.zijlstra@...llo.nl>
Subject: Re: perf_counters: page fault trace record

Paul Mackerras wrote:
> Corey Ashford writes:
> 
>> One of the tools we are working on needs to be able to look not only at counts 
>> of page faults, but where they are occurring (ip and faulting page address).
>>
>> What would you think about adding a new bit to the config record, something like:
> 
> Can't you do what you need just using a page fault software counter
> with sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_ADDR and
> sample_period = 1?

I thought about that, but I was under the (incorrect?) impression that 
on Power, the PERF_SAMPLE_ADDR would be set by the value of the SDAR 
register, which wouldn't be correct for the case of a page fault.

I need to go look at the kernel code :)

- Corey

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