linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [RFC] ARM support for syscall tracing
@ 2011-11-29 16:28 Steven Walter
  2011-11-29 16:28 ` [PATCH 1/3] ARM: add support for the generic syscall.h interface Steven Walter
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Steven Walter @ 2011-11-29 16:28 UTC (permalink / raw)
  To: linux-arm-kernel

I recently noticed that "perf test" fails tests #2 - #4 on ARM.  In
investigating that failure, I noticed that those tests rely on
FTRACE_SYSCALLS, which was not available on ARM.

It didn't look like too much work to enable HAVE_SYSCALL_TRACEPOINTS, so
that's what I did in the patches that follow.  This is a
request-for-comment because I don't entirely understand some of the
changes I made, so it's quite likely that some parts are either
out-and-out wrong, or at least can be done a better way.

That said, the tests in "perf test" pass except for #1 (kallsyms), and
strace still seems to report sensible values for system calls.

Comments?

^ permalink raw reply	[flat|nested] 14+ messages in thread
* [PATCH 0/3] ARM support for syscall tracing
@ 2012-02-22 14:44 Wade Farnsworth
  2012-02-22 14:47 ` [PATCH 3/3] ARM: support " Wade Farnsworth
  0 siblings, 1 reply; 14+ messages in thread
From: Wade Farnsworth @ 2012-02-22 14:44 UTC (permalink / raw)
  To: linux-arm-kernel

This is a rework of Steven Walter's syscall tracing patches first
posted here:

http://lists.infradead.org/pipermail/linux-arm-kernel/2011-November/074454.html

I've rebased the patches against the current mainline master branch, as well
as implemented several changes based on feedback from Will Deacon and
Russel King.

Wade Farnsworth (3):
  ARM: add support for the generic syscall.h interface
  ARM: add TRACEHOOK support
  ARM: support syscall tracing

 arch/arm/Kconfig                   |    2 +
 arch/arm/include/asm/ptrace.h      |    5 ++
 arch/arm/include/asm/syscall.h     |   93 ++++++++++++++++++++++++++++++++++++
 arch/arm/include/asm/thread_info.h |    2 +
 arch/arm/include/asm/unistd.h      |   12 +++++
 arch/arm/kernel/entry-common.S     |   16 +++++-
 arch/arm/kernel/ptrace.c           |   34 +++++++------
 arch/arm/kernel/signal.c           |    2 +
 8 files changed, 149 insertions(+), 17 deletions(-)
 create mode 100644 arch/arm/include/asm/syscall.h

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2012-02-24 15:48 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-29 16:28 [RFC] ARM support for syscall tracing Steven Walter
2011-11-29 16:28 ` [PATCH 1/3] ARM: add support for the generic syscall.h interface Steven Walter
2011-11-29 16:28 ` [PATCH 2/3] ARM: add TRACEHOOK support Steven Walter
2011-11-29 17:04   ` Will Deacon
2011-11-29 17:51     ` Steven Walter
2011-11-29 16:28 ` [PATCH 3/3] ARM: support syscall tracing Steven Walter
2011-11-29 17:24   ` Will Deacon
2011-11-29 18:02     ` Steven Walter
2011-11-29 17:46   ` Russell King - ARM Linux
2011-11-29 18:12     ` Steven Walter
2011-11-29 21:55       ` Russell King - ARM Linux
  -- strict thread matches above, loose matches on Subject: below --
2012-02-22 14:44 [PATCH 0/3] ARM support for " Wade Farnsworth
2012-02-22 14:47 ` [PATCH 3/3] ARM: support " Wade Farnsworth
2012-02-24 11:05   ` Will Deacon
2012-02-24 15:48     ` Wade Farnsworth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).