diff options
author | Li Bin <[email protected]> | 2015-10-30 16:31:04 +0800 |
---|---|---|
committer | Steven Rostedt <[email protected]> | 2015-11-03 10:50:29 -0500 |
commit | 2ee8a74f2a5da913637f75a19a0da0e7a08c0f86 (patch) | |
tree | 30a1fe09feca6c1aca42c716aa0ef36ceb8fdce9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c84da8b9ad3761eef43811181c7e896e9834b26b (diff) |
recordmcount: arm64: Replace the ignored mcount call into nop
By now, the recordmcount only records the function that in
following sections:
.text/.ref.text/.sched.text/.spinlock.text/.irqentry.text/
.kprobes.text/.text.unlikely
For the function that not in these sections, the call mcount
will be in place and not be replaced when kernel boot up. And
it will bring performance overhead, such as do_mem_abort (in
.exception.text section). This patch make the call mcount to
nop for this case in recordmcount.
Link: http://lkml.kernel.org/r/[email protected]
Link: http://lkml.kernel.org/r/[email protected]
Cc: <[email protected]>
Cc: <[email protected]>
Cc: <[email protected]>
Cc: <[email protected]> # 3.18+
Acked-by: Will Deacon <[email protected]>
Signed-off-by: Li Bin <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions