diff options
author | 2016-03-03 15:26:56 +1100 | |
---|---|---|
committer | 2016-03-07 14:53:54 +1100 | |
commit | 336a7b5dd80a2a7b463dc8ede4862425940edeb5 (patch) | |
tree | 8c221344265a0f569343bef9fe86db30fa506c4a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | powerpc/module: Mark module stubs with a magic value (diff) | |
download | linux-dev-336a7b5dd80a2a7b463dc8ede4862425940edeb5.tar.xz linux-dev-336a7b5dd80a2a7b463dc8ede4862425940edeb5.zip |
powerpc/module: Create a special stub for ftrace_caller()
In order to support the new -mprofile-kernel ABI, we need to be able to
call from the module back to ftrace_caller() (in the kernel) without
using the module's r2. That is because the function in this module which
is calling ftrace_caller() may not have setup r2, if it doesn't
otherwise need it (ie. it accesses no globals).
To make that work we add a new stub which is used for calling
ftrace_caller(), which uses the kernel toc instead of the module toc.
Reviewed-by: Balbir Singh <bsingharora@gmail.com>
Reviewed-by: Torsten Duwe <duwe@suse.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions