This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Improving SystemTap ARM Architecture Support


With the ARM architecture becoming a more common architecture for
Linux SystemTap should be improve to better support the ARM
architecture.  There are currently Ubuntu and Fedora images available
for the ARM architecture.

For this work has been concentrating on getting things working on the
Fedora 13 release candidate with SystemTap running in an a self hosted
manner.  The variations in the ARM platforms make it difficult to have
a single binary kernel RPM for all the arm platforms (kernel-debuginfo
and kernel-devel rpms are rare).  This work has been using a locally
built linux kernel to make all the kernel debuginfo and devel
information available.

The goal is to be able to run the systemtap testsuite to find to what
tests work and fail on the ARM architecture. In the past people have
just cross compiled an individual script on one machine and transfered
them over to the target ARM machine. The testsuite is not designed to
run in cross-compiled manner.

Reviewing early test results and the code the following is an
incomplete list of improvements:

-created aux_syscalls.stp (FIXED)
  "make installcheck" uses debuginfo smoke test
  needs _arch_ptrace_argstr(), aux_syscalls.stp
-map arm variants (armv7l and armv5tel) to arm (PR4186)
-provide tapset/arm/registers.stp
  -map register name to/from sruct
  -functions for nd probe argument access
-add any arm specific syscalls in tapset/arm/syscalls.stp
-provide high-resolution timer for gettimeofday_ns()
  -this may be complicated by the variety of arm high-res timer mechanisms

Right now the "make installcheck" tests are running. The ARM machine
is rather slow, but once the results are available will mail them to
dejazilla so have a reference point for the ARM architecture.

-Will


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]