aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorMichael Ellerman <[email protected]>2016-03-24 22:04:02 +1100
committerMichael Ellerman <[email protected]>2016-04-14 15:47:05 +1000
commit28e7cbd3e0f5fefec892842d1391ebd508fdb5ce (patch)
tree98c58a0587978e5e81fb32baa13f64ce3f386158 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent04cf31a759ef575f750a63777cee95500e410994 (diff)
livepatch: Allow architectures to specify an alternate ftrace location
When livepatch tries to patch a function it takes the function address and asks ftrace to install the livepatch handler at that location. ftrace will look for an mcount call site at that exact address. On powerpc the mcount location is not the first instruction of the function, and in fact it's not at a constant offset from the start of the function. To accommodate this add a hook which arch code can override to customise the behaviour. Signed-off-by: Torsten Duwe <[email protected]> Signed-off-by: Balbir Singh <[email protected]> Signed-off-by: Petr Mladek <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions