|| ||"Ian Munsie" <firstname.lastname@example.org> |
|| ||email@example.com, firstname.lastname@example.org |
|| ||ftrace syscalls, PowerPC: Various fixes, Compat Syscall support and PowerPC implementation, V2 |
|| ||Wed, 23 Jun 2010 20:02:41 +1000|
|| ||Jason Baron <email@example.com>,
Frederic Weisbecker <firstname.lastname@example.org>,
Steven Rostedt <email@example.com>,
Ingo Molnar <firstname.lastname@example.org>,
Benjamin Herrenschmidt <email@example.com>,
Paul Mackerras <firstname.lastname@example.org>,
Michael Ellerman <email@example.com>|
|| ||Article, Thread
This patch series implements ftrace syscall tracing on PowerPC. All PPC 32bit,
64bit and 32bit compat syscalls are supported along with all the missing
generic compat syscalls.
This patch series includes Jason Baron's Compat Syscall Support v3 patches
rebased atop the current tip tree as patches 05 through 18 inclusive - refer to
http://lkml.org/lkml/2010/3/16/308 for their discussion. Any alterations I have
made other than what was necessary to rebase them are in separate later
commits. In particular, patch #38 removes the test for unmapped syscalls as
patch #1 prevents the events from being created if the mapping failed. Patch
#39 also undoes an ABI change from Jason's patches.
Some of the PowerPC syscalls have been renamed in this series - particularly
any with a ppc_ prefix or similar that did not use an assembly wrapper - most
of these now have a sys_ppc_ prefix or similar.
Those syscalls with assembly wrappers are now rigidly named such that only the
first three characters differ from the function name (i.e. ppc_fork is the
wrapper for sys_fork) so that the arch_syscall_match_sym_name function will
still match them to their metadata (it ignores the 3 character prefix).
I have avoided changing the return types of any of the syscalls as I was
concerned about the affect of doing so, rather adding the infrastructure to
allow their metadata to be recorded as well (patches #33 through #35).
If the system is booted with loglevel=8, any system calls that have not mapped
to their metadata will be printed, which can help track down any further
unmapped syscalls. This could be useful for other archs adding ftrace syscall
The patches base is tip/master.
Changes since v1:
* Add Jason's compat syscall support as part of the series
* Convert all the PPC syscalls to use the SYSCALL_DEFINE macros
* Remaining generic syscalls supported
* Handle PPC syscalls with register access through 7th parameter
* Support for syscalls with !long return types
* Support for syscalls using their own syscall wrappers
* Clean up some of the metadata recording preprocessor code
* Some other general cleanups
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/