After speaking with Mathieu at the Linux Collaboration Summit, I
worked up these patches. Thanks Mathieu, for helping me with this.
They should be fairly straight forward, the first one enables syscall
entry tracing, the second gives us system call names in lttv, and the
third fixes up the trace clock to work better on Octeon CPUs.
The base of the patch set is the patch-220.127.116.11-lttng-0.198.tar.gz
bundle from the download page on the web site. The patches are really
only tested on a 64-bit kernel running on a 12 CPU Octeon SOC. I
think the 32-bit code will compile and is correct, but I have not
David Daney (3):
lttng: MIPS: Fix syscall entry tracing.
lttng: MIPS: Dump MIPS system call tables.
lttng: MIPS: Use 64 bit counter for trace clock on Octeon CPUs.
arch/mips/Kconfig | 5 ++-
arch/mips/include/asm/trace-clock.h | 39 +++++++++++++++++++++++-
arch/mips/kernel/scall32-o32.S | 2 +-
arch/mips/kernel/scall64-64.S | 5 ++-
arch/mips/kernel/scall64-n32.S | 4 ++-
arch/mips/kernel/scall64-o32.S | 10 +++---
arch/mips/kernel/smp.c | 2 +
arch/mips/kernel/syscall.c | 58 +++++++++++++++++++++++++++++++++++
8 files changed, 113 insertions(+), 12 deletions(-)