diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2013-08-07 22:03:08 +0200 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2013-08-13 22:26:31 +0200 |
commit | 9ae09838470a68edf0245cd60c623df2d5993a8f (patch) | |
tree | f5b71e4c830d729900b10035f0f525b85ca634ed /scripts | |
parent | tile: avoid struct vm_struct leak (diff) | |
download | linux-9ae09838470a68edf0245cd60c623df2d5993a8f.tar.xz linux-9ae09838470a68edf0245cd60c623df2d5993a8f.zip |
tile: provide traceability for hypervisor calls
This change adds infrastructure (CONFIG_TILE_HVGLUE_TRACE) that
provides C code wrappers for the calls the kernel makes to the Tilera
hypervisor. This allows standard kernel infrastructure like FTRACE to
be able to instrument hypervisor calls.
To allow direct calls to the true API, we export their names with a
leading underscore as well. This is important for the few contexts
where we need to make hypervisor calls without touching the stack.
As part of this change, we also switch from creating the symbols
with linker magic to creating them with assembler magic. This lets
us provide a symbol type and generally make them appear more as symbols
and less as just random values in the Elf namespace.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions