2013-10-08 08:54:33 |
Fathi Boudra |
bug |
|
|
added bug |
2013-10-15 12:17:14 |
Matthias Klose |
bug task added |
|
systemtap (Ubuntu) |
|
2013-10-15 12:17:28 |
Matthias Klose |
tags |
|
arm64 ftbfs |
|
2014-02-13 11:39:30 |
Riku Voipio |
linaro-aarch64: importance |
Undecided |
Medium |
|
2014-02-13 11:39:32 |
Riku Voipio |
linaro-aarch64: status |
New |
Fix Committed |
|
2014-05-16 13:50:12 |
Matthias Klose |
linaro-aarch64: status |
Fix Committed |
New |
|
2014-05-30 05:47:09 |
Riku Voipio |
linaro-aarch64: status |
New |
In Progress |
|
2015-09-23 19:52:00 |
dann frazier |
nominated for series |
|
Ubuntu Trusty |
|
2015-09-23 19:52:00 |
dann frazier |
bug task added |
|
systemtap (Ubuntu Trusty) |
|
2015-09-23 19:52:34 |
dann frazier |
systemtap (Ubuntu): status |
New |
Fix Released |
|
2015-09-23 20:43:28 |
dann frazier |
description |
systemtap needs Aarch64 port |
[Impact]
systemtap is not available on arm64 in trusty. As mentioned below, having a systemtap deb isn't sufficient in itself to use systemtap - there are also kernel feature dependencies like kprobes, which have not landed yet in upstream or Ubuntu. However, those patches exist, and can be applied for debugging purposes.
[Test Case]
I rebuilt an Ubuntu 3.13 kernel with kprobes patches applied - git branch here:
http://kernel.ubuntu.com/git/dannf/trusty-xgene.git/log/?h=kprobes
The test case I used is the included hello world. When it works:
$ stap ./testsuite/systemtap.examples/general/helloworld.stp
hello world
[Regression Risk]
My backport cherry-picks several changes back from 2.7 upstream:
> Update-autoconf-related-files-to-support-aarch64.patch
> Update-gettext-related-material.patch
These two patches refresh autoconf/gettext files to recognize arm64.
We've done this for many packages when porting them to arm64 without problem, so regression risk should be low here.
> Add-am64-support.patch
> Basic-SystemTap-support-for-aarch64.patch
> Add-basic-aarch64-support-for-kprobes.patch
> Add-basic-print_regs-support-for-aarch64.patch
> Add-tapset-arm64-aux_syscalls.stp.patch
> Add-MMPAP_SYSCALL_NO-and-other-defines-in-runtime-sy.patch
> Normalize-aarch64-to-arm64-to-match-SystemTap-s-idea.patch
> Add-backtrace-support-for-aarch64.patch
> Estimate-the-frequency-of-the-arch64-get_cycle.patch
The changes in these files are all gated by arch-specific checks. That is, they are encapsulated in #ifdef (__aarch64__) or $(uname -m) = "aarch64".
Since we haven't previously had an arm64 port, regression risk is minimal.
> Flip-condition-so-proper-default-picked-for-STAP_NOP.patch
This flips an #ifdef condition around so that the default nop instruction for unknown archs is different. It is easy to see that the nop instruction for
all previously-supported Ubuntu archs remains the same as before.
> Make-the-DDEBUG_UNWIND-output-more-tolerant-of-types.patch
This adds casting to some debugging statements to allow them to compile on arm64. The casting method is based on kernel documentation and hasn't changed again upstream in a year and 2 releases, so it seems safe. |
|
2015-09-23 20:48:22 |
dann frazier |
systemtap (Ubuntu Trusty): status |
New |
In Progress |
|
2015-09-23 20:48:24 |
dann frazier |
systemtap (Ubuntu Trusty): assignee |
|
dann frazier (dannf) |
|
2015-09-30 14:37:59 |
Chris J Arges |
systemtap (Ubuntu Trusty): status |
In Progress |
Fix Committed |
|
2015-09-30 14:38:02 |
Chris J Arges |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2015-09-30 14:38:07 |
Chris J Arges |
bug |
|
|
added subscriber SRU Verification |
2015-09-30 14:38:14 |
Chris J Arges |
tags |
arm64 ftbfs |
arm64 ftbfs verification-needed |
|
2015-09-30 20:25:10 |
dann frazier |
tags |
arm64 ftbfs verification-needed |
arm64 ftbfs verification-done |
|
2015-10-07 16:18:48 |
Launchpad Janitor |
systemtap (Ubuntu Trusty): status |
Fix Committed |
Fix Released |
|
2015-10-07 16:18:53 |
Chris J Arges |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|