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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140428190815.GA22135@arm.com>
Date:	Mon, 28 Apr 2014 20:08:15 +0100
From:	Will Deacon <will.deacon@....com>
To:	Ding Tianhong <dingtianhong@...wei.com>
Cc:	Catalin Marinas <Catalin.Marinas@....com>,
	Peter Zijlstra <a.p.zijlstra@...llo.nl>,
	Paul Mackerras <paulus@...ba.org>,
	Ingo Molnar <mingo@...hat.com>,
	Robert Richter <rric@...nel.org>,
	Arnaldo Carvalho de Melo <acme@...stprotocols.net>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"oprofile-list@...ts.sf.net" <oprofile-list@...ts.sf.net>,
	"huxinwei@...wei.com" <huxinwei@...wei.com>
Subject: Re: [PATCH] arm64: add OProfile support

On Mon, Apr 28, 2014 at 03:32:04AM +0100, Ding Tianhong wrote:
> On 2014/4/26 18:22, Ding Tianhong wrote:
> > On 2014/4/26 17:23, Catalin Marinas wrote:
> >> On 26 Apr 2014, at 09:38, Ding Tianhong <dingtianhong@...wei.com> wrote:
> >>> Add OProfile support for arm64,  using the perf backend, and failing back
> >>> to generic timer based sampling if PMU interrupt is not supported.
> >>>
> >>> I have test this patch on Cortex-A53 and Cortex-A57 motherboard, the OProfile
> >>> could work well by PMU irq or arch timer irq.
> >>
> >> This came up before a few times and we also had an implementation but
> >> decided not to merge it. We should rather get the user space oprofile to
> >> use the perf kernel API.
> >>
> >> That’s an old thread, it may have even made it into mainline oprofile
> >> but I haven’t followed the development:
> >>
> >> http://marc.info/?l=oprofile-list&m=133002515616302&w=2
> >>
> >> Catalin
> >>
> 
> Hi Cadtalin:
> 
> Sorry I could not find the implementation that not to merge the orpfile support for aarch64 till now, and
> I still have questions that the existing code only support oprofile by arch timer event, but not
> PMU event, this patch only add HW PMU support for oprofile, it is more accurate and stable, can you
> give me more advise and appreciate for your help.

Just use the operf tool, which is part of the oprofile project. It uses the
perf syscall under the hood and doesn't need any kernel-side additions over
perf.

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