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]
Date:	Thu, 13 May 2010 18:01:10 +0200
From:	Chase Douglas <chase.douglas@...onical.com>
To:	Arnaldo Carvalho de Melo <acme@...stprotocols.net>
Cc:	linux-kernel@...r.kernel.org,
	Peter Zijlstra <a.p.zijlstra@...llo.nl>,
	Paul Mackerras <paulus@...ba.org>, Ingo Molnar <mingo@...e.hu>
Subject: Re: perf: relative path to source for perf probe?

On Thu, May 13, 2010 at 4:58 PM, Arnaldo Carvalho de Melo
<acme@...stprotocols.net> wrote:
> Look in tools/perf/util/symbol.c, these variables are the ones tools use
> to govern how the symbol system work wrt finding vmlinux:
>
> symbol_conf.use_vmlinux_path
> symbol_conf.vmlinux_name
>
> In addition to this it will use what is in ~/.debug/ if it has a
> build-id in the perf.data header.
>
> The changes for support kvm also touched this and allow for some
> prefixing to look for guest symbols, generalizing that to make guest
> kernel vmlinux + modules relative location be reused to look for
> relative location for host kernel vmlinux + modules seems the way to go.

After reading this some more, I think we are talking about two
different things. I think your notes above are referring to locating
the vmlinux image and other debug symbols. This seems to work fine for
me using the -k flag. However, I'm encountering an issue where the
source code location isn't found. I think this is fairly specific to
the probe command of perf, which is fairly new, so maybe it's missing
the same level of support that the symbol finding code has?

Thanks,

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