Re: [PATCH 10/11] perf tools: Add probing for udev86 library

From: Arnaldo Carvalho de Melo
Date: Wed Mar 30 2016 - 09:36:19 EST


Em Wed, Mar 30, 2016 at 12:43:27PM +0200, Ingo Molnar escreveu:
> > From: Andi Kleen <ak@xxxxxxxxxxxxxxx>

> > Add autoprobing for the udev86 disassembler library.

> So the typo in the title is confusing, what is 'udev86'?

> Also, this library does not seem to be available on stock Ubuntu. We should not be
> adding library dependencies that cannot be resolved on major distros:

Ok, I'll remove, I thought it would be ok because I fired up:

# dnf install udis86-devel

On fedora and it installed straight away, but after I started trying to
update my docker images I couldn't find it on debian
experimental/unstable:

[root@jouet ~]# docker run -t -i debian:experimental /bin/bash
root@b97e620820b4:/# apt-get update
Get:1 http://debian.pop-sc.rnp.br/debian unstable InRelease [196 kB]
Get:2 http://debian.pop-sc.rnp.br/debian experimental InRelease [111 kB]
Get:3 http://debian.pop-sc.rnp.br/debian unstable/main amd64 Packages
[9477 kB]
Get:4 http://debian.pop-sc.rnp.br/debian experimental/main amd64
Packages [579 kB]
Fetched 10.4 MB in 15s (664 kB/s)
Reading package lists... Done
root@b97e620820b4:/# apt-cache search udis86
root@b97e620820b4:/#

Nor even in OpenSuSE:

[root@jouet ~]# docker run -t -i opensuse /bin/bash
bash-4.2# zypper search udis86
Retrieving repository 'NON-OSS' metadata ..........................[done]
Building repository 'NON-OSS' cache ...............................[done]
Retrieving repository 'OSS' metadata ..............................[done]
Building repository 'OSS' cache ...................................[done]
Retrieving repository 'OSS Update' metadata .......................[done]
Building repository 'OSS Update' cache ............................[done]
Retrieving repository 'Update Non-Oss' metadata ...................[done]
Building repository 'Update Non-Oss' cache ........................[done]
Loading repository data...
Reading installed packages...
No packages found.
bash-4.2#

Or even Mageia:

[root@jouet ~]# docker run -t -i mageia /bin/bash
[root@cb6ee54f2faa /]# urpmf udis86
http://mirrors.ustc.edu.cn/mageia/distrib/5/x86_64/media/core/release/media_info/20150615-211931-files.xml.lzma
http://mirrors.ustc.edu.cn/mageia/distrib/5/x86_64/media/core/updates/media_info/20160326-150702-files.xml.lzma
http://mirrors.ustc.edu.cn/mageia/distrib/5/i586/media/core/release/media_info/20150615-211537-files.xml.lzma
http://mirrors.ustc.edu.cn/mageia/distrib/5/i586/media/core/updates/media_info/20160326-150428-files.xml.lzma
[root@cb6ee54f2faa /]#

But then, use in perf could be a driver for that package to get
included, perhaps we can do the same we did for libbabeltrace? I.e.
leave it disabled by default?

Thanks,

- Arnaldo