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: <04a9bf3a-ff00-2331-d0a5-a3efcc4cdd94@intel.com>
Date:   Wed, 24 Oct 2018 16:56:03 +0300
From:   Adrian Hunter <adrian.hunter@...el.com>
To:     Arnaldo Carvalho de Melo <acme@...nel.org>
Cc:     Jiri Olsa <jolsa@...hat.com>, Andi Kleen <ak@...ux.intel.com>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH V2 17/19] perf scripts python: exported-sql-viewer.py: Add
 All branches report

On 23/10/18 11:31 PM, Adrian Hunter wrote:
> On 23/10/18 11:02 PM, Arnaldo Carvalho de Melo wrote:
>> Em Tue, Oct 23, 2018 at 07:57:17PM +0000, Hunter, Adrian escreveu:
>>>> -----Original Message-----
>>>> From: Arnaldo Carvalho de Melo [mailto:acme@...nel.org]
>>>> Sent: Tuesday, October 23, 2018 10:30 PM
>>>> To: Hunter, Adrian <adrian.hunter@...el.com>
>>>> Cc: Jiri Olsa <jolsa@...hat.com>; Andi Kleen <ak@...ux.intel.com>; linux-
>>>> kernel@...r.kernel.org
>>>> Subject: Re: [PATCH V2 17/19] perf scripts python: exported-sql-viewer.py:
>>>> Add All branches report
>>>>
>>>> Em Tue, Oct 23, 2018 at 06:41:17PM +0000, Hunter, Adrian escreveu:
>>>>>> -----Original Message-----
>>>>>> From: Arnaldo Carvalho de Melo [mailto:acme@...nel.org]
>>>>>> So, I followed the instructions then ended up with:
>>>>>>
>>>>>> [acme@...enth perf]$ find /usr/local -name "*xed*" | head
>>>>>> /usr/local/lib/libxed.so /usr/local/lib/libxed.a
>>>>>> /usr/local/lib/libxed-ild.so /usr/local/lib/libxed-ild.a
>>>>>> /usr/local/include/xed /usr/local/include/xed/xed- syntax-enum.h
>>>>>> /usr/local/include/xed/xed-attributes.h
>>>>>> /usr/local/include/xed/xed-build-defines.h
>>>>>> /usr/local/include/xed/xed-cpuid-rec.h
>>>>>> /usr/local/include/xed/xed-flags.h
>>>>>> [acme@...enth perf]$
>>>>>>
>>>>>> Ran ldconfig as root, etc:
>>>>>>
>>>>>> [acme@...enth perf]$ ldconfig -v -N | grep xed
>>>
>>> What about:
>>> 	ldconfig -p | grep  xed
>>
>> $ ldconfig -p | grep xed
>> $ echo $LD_LIBRARY_PATH 
>> /usr/local/lib
>> $ ls -la /usr/local/lib/libxed*so
>> -r--r--r--. 1 root root  132840 Oct 23 14:52 /usr/local/lib/libxed-ild.so
>> -r--r--r--. 2 root root 6842688 Oct 23 14:52 /usr/local/lib/libxed.so
>> $ ldconfig -p | grep xed
>> $ 
>>
> 
> A short term solution might be to add /usr/local/lib with ldconfig i.e.
> 
> sudo ldconfig /usr/local/lib

That worked for me, but I will look at making the script work even if
/usr/local/lib is not in /etc/ld.so.conf or /etc/ld.do.conf.d/*

However I found kernel disassembly doesn't work, I think due to:

    commit edeb0c90df3581b821a764052d185df985f8b8dc
    perf tools: Stop fallbacking to kallsyms for vdso symbols lookup

As I mentioned here:


https://lore.kernel.org/lkml/4c682937-3cee-6974-0970-68610e13ad37@intel.com/T/#u

So I will look at a fix for that also.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ