[Kernel-packages] [Bug 1761379] Re: [18.04/18.10] File libperf-jvmti.so is missing in linux-tools-common deb on Ubuntu

2019-08-27 Thread Gustavo Romero
Sorry, agent looks missing on proposed for Xenial. Canonical, could you
please check it?

There is no libperf-jvmti.so afaics.

I'm marking it as 'verification-failed-xenial'.

gromero@gromero16:/tmp$ dpkg -L linux-tools-4.4.0-160 
/.
/usr
/usr/lib
/usr/lib/linux-tools-4.4.0-160
/usr/lib/linux-tools-4.4.0-160/perf
/usr/lib/linux-tools-4.4.0-160/usbip
/usr/lib/linux-tools-4.4.0-160/cpupower
/usr/lib/linux-tools-4.4.0-160/usbipd
/usr/lib/libcpupower.so.4.4.0-160
/usr/share
/usr/share/doc
/usr/share/doc/linux-tools-4.4.0-160
/usr/share/doc/linux-tools-4.4.0-160/changelog.Debian.gz
/usr/share/doc/linux-tools-4.4.0-160/copyright
gromero@gromero16:/tmp$ dpkg -L linux-tools-4.4.0-160-generic
/.
/usr
/usr/lib
/usr/lib/linux-tools
/usr/lib/linux-tools/4.4.0-160-generic
/usr/share
/usr/share/doc
/usr/share/doc/linux-tools-4.4.0-160-generic
/usr/share/doc/linux-tools-4.4.0-160-generic/copyright
/usr/lib/linux-tools/4.4.0-160-generic/perf
/usr/lib/linux-tools/4.4.0-160-generic/usbip
/usr/lib/linux-tools/4.4.0-160-generic/cpupower
/usr/lib/linux-tools/4.4.0-160-generic/usbipd
/usr/share/doc/linux-tools-4.4.0-160-generic/changelog.Debian.gz
gromero@gromero16:/tmp$ uname -a
Linux gromero16 4.4.0-160-generic #188-Ubuntu SMP Wed Aug 14 04:17:46 UTC 2019 
ppc64le ppc64le ppc64le GNU/Linux
gromero@gromero16:/tmp$ ls -l /usr/lib/linux-tools-4.4.0-160
total 10776
-rwxr-xr-x 1 root root   230096 Aug 14 00:53 cpupower
-rwxr-xr-x 1 root root 10314320 Aug 14 00:53 perf
-rwxr-xr-x 1 root root   260112 Aug 14 00:53 usbip
-rwxr-xr-x 1 root root   218056 Aug 14 00:53 usbipd
gromero@gromero16:/tmp$ 


** Tags removed: verification-needed-xenial
** Tags added: verification-failed-xenial

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-aws in Ubuntu.
https://bugs.launchpad.net/bugs/1761379

Title:
  [18.04/18.10] File libperf-jvmti.so is missing in linux-tools-common
  deb on Ubuntu

Status in The Ubuntu-power-systems project:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux-aws package in Ubuntu:
  Fix Committed
Status in linux-aws-edge package in Ubuntu:
  Fix Committed
Status in linux-aws-hwe package in Ubuntu:
  Fix Committed
Status in linux source package in Xenial:
  Invalid
Status in linux-aws source package in Xenial:
  Invalid
Status in linux-aws-edge source package in Xenial:
  Invalid
Status in linux-aws-hwe source package in Xenial:
  Fix Committed
Status in linux source package in Artful:
  Won't Fix
Status in linux-aws source package in Artful:
  Invalid
Status in linux-aws-edge source package in Artful:
  Invalid
Status in linux-aws-hwe source package in Artful:
  Invalid
Status in linux source package in Bionic:
  Fix Released
Status in linux-aws source package in Bionic:
  Fix Committed
Status in linux-aws-edge source package in Bionic:
  Fix Committed
Status in linux-aws-hwe source package in Bionic:
  Invalid
Status in linux source package in Cosmic:
  Invalid
Status in linux-aws source package in Cosmic:
  Invalid
Status in linux-aws-edge source package in Cosmic:
  Invalid
Status in linux-aws-hwe source package in Cosmic:
  Invalid
Status in linux source package in Disco:
  Fix Released
Status in linux-aws source package in Disco:
  Fix Committed
Status in linux-aws-edge source package in Disco:
  Invalid
Status in linux-aws-hwe source package in Disco:
  Invalid

Bug description:
  [Impact]
  File libperf-jvmti.so is missing in linux-tools-common deb making it 
impossible to use perf for the JVM JITed methods.

  [Test case]
  $ sudo perf record -k 1 -e instructions:u ./java 
-agentpath:/usr/lib/linux-tools-5.0.0-8/libperf-jvmti.so crc32
  $ sudo perf inject -i ./perf.data -j -o ./perf.data.jitted
  $ sudo perf report -f -i ./perf.data.jitted

  [Fix]
  Include java build dependencies and install the library into linux-tools 
package.

  [Regression potential]
  Small regression potential, an extra file is distributed and is not 
automatically linked to anything. It could impact the build, which was tested.

  ---Problem Description---
  File libperf-jvmti.so is missing in linux-tools-common deb making it 
impossible to use perf for the JVM JITed methods

  ---uname output---
  linux-image-4.13.0-36-generic

  Machine Type = not relevant

  ---Debugger---
  A debugger is not configured

  ---Steps to Reproduce---
   File libperf-jvmti.so is missing in linux-tools-common deb provided for 
Ubuntu 17.10 making it impossible to use perf for the JVM JITed methods. I also 
checked if the file is available on launchpad 
(https://launchpad.net/ubuntu/+source/linux) for Bionic Beaver proposed (main) 
at it's also absent there:

  gromero@ltc-wspoon3:~/download$ dpkg -c 
linux-tools-common_4.15.0-13.14_all.deb | fgrep jvm
  gromero@ltc-wspoon3:~/download$ dpkg -c 
linux-tools-4.15.0-13-generic_4.15.0-13.14_ppc64el.deb | fgrep jvm

  I do see the file in tools/perf/jvmti dir in the source .tar.gz, but
  apparently it's no being 

[Kernel-packages] [Bug 1761379] Re: [18.04/18.10] File libperf-jvmti.so is missing in linux-tools-common deb on Ubuntu

2019-06-20 Thread Gustavo Romero
On disco LGTM:

gromero@gromero33:~$ lsb_release  -a |& fgrep Codename
Codename:   disco
gromero@gromero33:~$ uname -a
Linux gromero33 5.0.0-18-generic #19-Ubuntu SMP Wed Jun 12 18:19:22 UTC 2019 
ppc64le ppc64le ppc64le GNU/Linux
gromero@gromero33:~$ java -version
openjdk version "11.0.3" 2019-04-16
OpenJDK Runtime Environment (build 11.0.3+7-Ubuntu-1ubuntu219.04.1)
OpenJDK 64-Bit Server VM (build 11.0.3+7-Ubuntu-1ubuntu219.04.1, mixed mode)
gromero@gromero33:~$ sudo apt-get install -y linux-tools-$(uname 
-r)/disco-proposed
gromero@gromero33:~$ cat << EOF > hello.java
> class hello {
>   static void printX() {
> System.out.printf("X");
>   }
> 
>   public static void main(String[] args) {
>   int i;
>   for (i=0; i < 64000; i++)
> printX();   
>   }
> }
> EOF
gromero@gromero33:~$ javac hello.java
gromero@gromero33:~$ sudo perf record -k 1 -e instructions:u java 
-agentpath:/usr/lib/linux-tools-5.0.0-18/libperf-jvmti.so hello > /dev/null
java: jvmti: jitdump in 
/home/gromero/.debug/jit/java-jit-20190620.XXxYAYpv/jit-4062.dump
[ perf record: Woken up 1 times to write data ]
[ perf record: Captured and wrote 0.168 MB perf.data (4076 samples) ]
gromero@gromero33:~$ sudo perf inject -i ./perf.data -j -o ./perf.data.jitted
gromero@gromero33:~$ sudo perf report -f -i ./perf.data.jitted |& fgrep printX
 0.40%  java jitted-4062-606.so  [.] class hello.printX()
 0.05%  java jitted-4062-535.so  [.] class hello.printX()

** Tags removed: verification-needed-cosmic verification-needed-disco
** Tags added: verification-done-cosmic verification-done-disco

** Tags removed: verification-needed-bionic
** Tags added: verification-done-bionic

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1761379

Title:
  [18.04/18.10] File libperf-jvmti.so is missing in linux-tools-common
  deb on Ubuntu

Status in The Ubuntu-power-systems project:
  Fix Committed
Status in linux package in Ubuntu:
  Fix Committed
Status in linux source package in Artful:
  Won't Fix
Status in linux source package in Bionic:
  Fix Committed
Status in linux source package in Cosmic:
  Fix Committed
Status in linux source package in Disco:
  Fix Committed

Bug description:
  [Impact]
  File libperf-jvmti.so is missing in linux-tools-common deb making it 
impossible to use perf for the JVM JITed methods.

  [Test case]
  $ sudo perf record -k 1 -e instructions:u ./java 
-agentpath:/usr/lib/linux-tools-5.0.0-8/libperf-jvmti.so crc32
  $ sudo perf inject -i ./perf.data -j -o ./perf.data.jitted
  $ sudo perf report -f -i ./perf.data.jitted

  [Fix]
  Include java build dependencies and install the library into linux-tools 
package.

  [Regression potential]
  Small regression potential, an extra file is distributed and is not 
automatically linked to anything. It could impact the build, which was tested.

  ---Problem Description---
  File libperf-jvmti.so is missing in linux-tools-common deb making it 
impossible to use perf for the JVM JITed methods

  ---uname output---
  linux-image-4.13.0-36-generic

  Machine Type = not relevant

  ---Debugger---
  A debugger is not configured

  ---Steps to Reproduce---
   File libperf-jvmti.so is missing in linux-tools-common deb provided for 
Ubuntu 17.10 making it impossible to use perf for the JVM JITed methods. I also 
checked if the file is available on launchpad 
(https://launchpad.net/ubuntu/+source/linux) for Bionic Beaver proposed (main) 
at it's also absent there:

  gromero@ltc-wspoon3:~/download$ dpkg -c 
linux-tools-common_4.15.0-13.14_all.deb | fgrep jvm
  gromero@ltc-wspoon3:~/download$ dpkg -c 
linux-tools-4.15.0-13-generic_4.15.0-13.14_ppc64el.deb | fgrep jvm

  I do see the file in tools/perf/jvmti dir in the source .tar.gz, but
  apparently it's no being packaged in any .deb file?

  Thanks.

  Userspace tool common name: perf

  The userspace tool has the following bit modes: 64-bit

  Userspace tool obtained from project website:  na

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1761379/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1761379] Re: [18.04/18.10] File libperf-jvmti.so is missing in linux-tools-common deb on Ubuntu

2019-06-20 Thread Gustavo Romero
On bionic LGTM:

$ lsb_release  -a | fgrep Codename
Codename:   bionic
$ uname -a
Linux guest 4.15.0-53-generic #57-Ubuntu SMP Thu Jun 13 09:28:40 UTC 2019 
ppc64le ppc64le ppc64le GNU/Linux
$ java -version
openjdk version "11.0.3" 2019-04-16
OpenJDK Runtime Environment (build 11.0.3+7-Ubuntu-1ubuntu218.04.1)
OpenJDK 64-Bit Server VM (build 11.0.3+7-Ubuntu-1ubuntu218.04.1, mixed mode)

$ sudo apt-get install -y linux-tools-$(uname -r)/bionic-proposed

cat << EOF > hello.java
class hello {
  static void printX() {
System.out.printf("X");
  }

  public static void main(String[] args) {
  int i;
  for (i=0; i < 64000; i++)
printX();   
  }
}
EOF

$ javac hello.java
$ sudo perf record -k 1 -e instructions:u java 
-agentpath:/usr/lib/linux-tools-4.15.0-53/libperf-jvmti.so hello > /dev/null
java: jvmti: jitdump in 
/home/user/.debug/jit/java-jit-20190620.XXH3rSWT/jit-4232.dump
[ perf record: Woken up 1 times to write data ]
[ perf record: Captured and wrote 0.136 MB perf.data (3368 samples) ]
$ sudo perf inject -i ./perf.data -j -o ./perf.data.jitted
$ sudo perf report -f -i ./perf.data.jitted |& fgrep printX
 0.38%  java jitted-4232-595.so  [.] class hello.printX()

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1761379

Title:
  [18.04/18.10] File libperf-jvmti.so is missing in linux-tools-common
  deb on Ubuntu

Status in The Ubuntu-power-systems project:
  Fix Committed
Status in linux package in Ubuntu:
  Fix Committed
Status in linux source package in Artful:
  Won't Fix
Status in linux source package in Bionic:
  Fix Committed
Status in linux source package in Cosmic:
  Fix Committed
Status in linux source package in Disco:
  Fix Committed

Bug description:
  [Impact]
  File libperf-jvmti.so is missing in linux-tools-common deb making it 
impossible to use perf for the JVM JITed methods.

  [Test case]
  $ sudo perf record -k 1 -e instructions:u ./java 
-agentpath:/usr/lib/linux-tools-5.0.0-8/libperf-jvmti.so crc32
  $ sudo perf inject -i ./perf.data -j -o ./perf.data.jitted
  $ sudo perf report -f -i ./perf.data.jitted

  [Fix]
  Include java build dependencies and install the library into linux-tools 
package.

  [Regression potential]
  Small regression potential, an extra file is distributed and is not 
automatically linked to anything. It could impact the build, which was tested.

  ---Problem Description---
  File libperf-jvmti.so is missing in linux-tools-common deb making it 
impossible to use perf for the JVM JITed methods

  ---uname output---
  linux-image-4.13.0-36-generic

  Machine Type = not relevant

  ---Debugger---
  A debugger is not configured

  ---Steps to Reproduce---
   File libperf-jvmti.so is missing in linux-tools-common deb provided for 
Ubuntu 17.10 making it impossible to use perf for the JVM JITed methods. I also 
checked if the file is available on launchpad 
(https://launchpad.net/ubuntu/+source/linux) for Bionic Beaver proposed (main) 
at it's also absent there:

  gromero@ltc-wspoon3:~/download$ dpkg -c 
linux-tools-common_4.15.0-13.14_all.deb | fgrep jvm
  gromero@ltc-wspoon3:~/download$ dpkg -c 
linux-tools-4.15.0-13-generic_4.15.0-13.14_ppc64el.deb | fgrep jvm

  I do see the file in tools/perf/jvmti dir in the source .tar.gz, but
  apparently it's no being packaged in any .deb file?

  Thanks.

  Userspace tool common name: perf

  The userspace tool has the following bit modes: 64-bit

  Userspace tool obtained from project website:  na

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1761379/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1759312] Re: AT_BASE_PLATFORM in AUXV is absent on kernels available on Ubuntu 17.10

2018-04-10 Thread Gustavo Romero
sorry, mirror status clobbered the tag back to 'verification-needed-
artful'. I've set it to 'verification-done-artful' once again.


** Tags removed: verification-needed-artful
** Tags added: verification-done-artful

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1759312

Title:
  AT_BASE_PLATFORM in AUXV is absent on kernels available on Ubuntu
  17.10

Status in The Ubuntu-power-systems project:
  Fix Committed
Status in linux package in Ubuntu:
  Fix Committed
Status in linux source package in Artful:
  Fix Committed
Status in linux source package in Bionic:
  Fix Committed

Bug description:
  
  == SRU Justification ==
  AT_BASE_PLATFORM in AIXV is not exported to userspace on P9 baremetal 
machines 
  causing trouble to userspace tools and software that rely on that 
information, 
  notably operf and opreport (from oprofile 1.2.0+) will refuse to run without
  that information.

  This bug is fixed by commit e4b79900222b, which is in linux-next and just
  landed in mainline, but is not contained in any release as of yet.

  == Fix ==
  e4b79900222b ("powerpc/64s: Fix NULL AT_BASE_PLATFORM when using DT CPU 
features")

  == Regression Potential ==
  Low.  Limited to powerpc.

  == Test Case ==
  A test kernel was built with this patch and tested by the original bug 
reporter.
  The bug reporter states the test kernel resolved the bug.


  
  ---Problem Description---
  AT_BASE_PLATFORM in AUXV is absent on kernels available on Ubuntu 17.10

  ---Additional Hardware Info---
  Architecture:ppc64le
  Byte Order:  Little Endian
  CPU(s):  176
  On-line CPU(s) list: 0-175
  Thread(s) per core:  4
  Core(s) per socket:  22
  Socket(s):   2
  NUMA node(s):8
  Model:   2.2 (pvr 004e 1202)
  Model name:  POWER9, altivec supported
  CPU max MHz: 2800.
  CPU min MHz: 2300.
  L1d cache:   32K
  L1i cache:   32K
  L2 cache:512K
  L3 cache:10240K
  NUMA node0 CPU(s):   0-87
  NUMA node8 CPU(s):   88-175
  NUMA node250 CPU(s):
  NUMA node251 CPU(s):
  NUMA node252 CPU(s):
  NUMA node253 CPU(s):
  NUMA node254 CPU(s):
  NUMA node255 CPU(s):

  Machine Type = P9, DD2.2, Witherspoon, baremetal

  ---Steps to Reproduce---
   AT_BASE_PLATFORM in AIXV is not exported to userspace on P9 baremetal 
machines causing trouble to userspace tools and software that relie on that 
information, notably operf and opreport (from oprofile 1.2.0+) will refuse to 
run without that information show a error message like:

  gromero@ltc-wspoon3:/boot$ operf
  NULL returned for one or both of AT_PLATFORM/AT_BASE_PLATFORM
  AT_PLATFORM: power9;  AT_BASE_PLATFORM: (null)
  Unable to obtain cpu_type
  Verify that a pre-1.0 version of OProfile is not in use.
  If the /dev/oprofile/cpu_type file exists, locate the pre-1.0 OProfile
  installation, and use its 'opcontrol' command, passing the --deinit option.
  Unable to ascertain cpu type.  Exiting.

  ---uname output---
  linux-image-4.13.0-36-generic  4.13.0-36.40

  Userspace tool common name: operf, opreport

  Dear maintainer. please consider applying the following fix that's
  already available upstream:

  
https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id=e4b79900222b8cccd4da4a7a89581f

  Thank you.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1759312/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1759312] Re: AT_BASE_PLATFORM in AUXV is absent on kernels available on Ubuntu 17.10

2018-04-10 Thread Gustavo Romero
Hi. It's fixed on 4.13.0-39-generic #44-Ubuntu build. Thanks.

** Tags removed: verification-needed-artful
** Tags added: verification-done-artful

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1759312

Title:
  AT_BASE_PLATFORM in AUXV is absent on kernels available on Ubuntu
  17.10

Status in The Ubuntu-power-systems project:
  Fix Committed
Status in linux package in Ubuntu:
  Fix Committed
Status in linux source package in Artful:
  Fix Committed
Status in linux source package in Bionic:
  Fix Committed

Bug description:
  
  == SRU Justification ==
  AT_BASE_PLATFORM in AIXV is not exported to userspace on P9 baremetal 
machines 
  causing trouble to userspace tools and software that rely on that 
information, 
  notably operf and opreport (from oprofile 1.2.0+) will refuse to run without
  that information.

  This bug is fixed by commit e4b79900222b, which is in linux-next and just
  landed in mainline, but is not contained in any release as of yet.

  == Fix ==
  e4b79900222b ("powerpc/64s: Fix NULL AT_BASE_PLATFORM when using DT CPU 
features")

  == Regression Potential ==
  Low.  Limited to powerpc.

  == Test Case ==
  A test kernel was built with this patch and tested by the original bug 
reporter.
  The bug reporter states the test kernel resolved the bug.


  
  ---Problem Description---
  AT_BASE_PLATFORM in AUXV is absent on kernels available on Ubuntu 17.10

  ---Additional Hardware Info---
  Architecture:ppc64le
  Byte Order:  Little Endian
  CPU(s):  176
  On-line CPU(s) list: 0-175
  Thread(s) per core:  4
  Core(s) per socket:  22
  Socket(s):   2
  NUMA node(s):8
  Model:   2.2 (pvr 004e 1202)
  Model name:  POWER9, altivec supported
  CPU max MHz: 2800.
  CPU min MHz: 2300.
  L1d cache:   32K
  L1i cache:   32K
  L2 cache:512K
  L3 cache:10240K
  NUMA node0 CPU(s):   0-87
  NUMA node8 CPU(s):   88-175
  NUMA node250 CPU(s):
  NUMA node251 CPU(s):
  NUMA node252 CPU(s):
  NUMA node253 CPU(s):
  NUMA node254 CPU(s):
  NUMA node255 CPU(s):

  Machine Type = P9, DD2.2, Witherspoon, baremetal

  ---Steps to Reproduce---
   AT_BASE_PLATFORM in AIXV is not exported to userspace on P9 baremetal 
machines causing trouble to userspace tools and software that relie on that 
information, notably operf and opreport (from oprofile 1.2.0+) will refuse to 
run without that information show a error message like:

  gromero@ltc-wspoon3:/boot$ operf
  NULL returned for one or both of AT_PLATFORM/AT_BASE_PLATFORM
  AT_PLATFORM: power9;  AT_BASE_PLATFORM: (null)
  Unable to obtain cpu_type
  Verify that a pre-1.0 version of OProfile is not in use.
  If the /dev/oprofile/cpu_type file exists, locate the pre-1.0 OProfile
  installation, and use its 'opcontrol' command, passing the --deinit option.
  Unable to ascertain cpu type.  Exiting.

  ---uname output---
  linux-image-4.13.0-36-generic  4.13.0-36.40

  Userspace tool common name: operf, opreport

  Dear maintainer. please consider applying the following fix that's
  already available upstream:

  
https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id=e4b79900222b8cccd4da4a7a89581f

  Thank you.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1759312/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp