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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100304125806.GB16539@ghostprotocols.net>
Date:	Thu, 4 Mar 2010 09:58:06 -0300
From:	Arnaldo Carvalho de Melo <acme@...hat.com>
To:	Ingo Molnar <mingo@...e.hu>
Cc:	David Miller <davem@...emloft.net>, eranian@...gle.com,
	peterz@...radead.org, linux-kernel@...r.kernel.org,
	paulus@...ba.org, robert.richter@....com, fweisbec@...il.com
Subject: Re: [RFC][PATCH 07/11] perf: Provide PERF_SAMPLE_REGS

Em Thu, Mar 04, 2010 at 03:59:08AM +0100, Ingo Molnar escreveu:
> 
> * David Miller <davem@...emloft.net> wrote:
> 
> > And more generally aren't we supposed to be able to eventually analyze perf 
> > dumps on any platform not just the one 'perf' was built under?
> 
> A aidenote: in this cycle Arnaldo improved this aspect of perf (and those 
> changes are now upstream). In theory you should be able to do a 'perf record' 
> + 'perf archive' on your Sparc box and then analyze it via 'perf report' on an 
> x86 box - and vice versa.
> 
> ( Note, it was not tested in that specific combination - another combination
>   was tested by Arnaldo: 32-bit PA-RISC profile interpreted on 64-bit x86. )

It was the other way around, 64-bit x86 interpreted on 64-bit PARISC.
Should work in any direction.

Caveats:

perf archive requires build-ids, the kernel has them in distros that
have this support in their toolchain, enabled unconditionally since
about 2.6.24.

If vmlinux is available, it will be used, if not a copy of
/proc/kallsyms is made and as well is keyed by build-id.

I have plans to cope with build-id-less systems, but no code yet.
 
- Arnaldo
--
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