diff options
| author | Anand Gadiyar <[email protected]> | 2010-10-14 15:31:42 +0000 |
|---|---|---|
| committer | Robert Richter <[email protected]> | 2010-10-15 10:45:44 +0000 |
| commit | b3b3a9b63f2deacfd59137e3781211d21a568ca9 (patch) | |
| tree | 673b271644137b60eeabbd8ad0ba133735d84c3f /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | oprofile: include platform_device.h to fix build break (diff) | |
| download | kernel-b3b3a9b63f2deacfd59137e3781211d21a568ca9.tar.gz kernel-b3b3a9b63f2deacfd59137e3781211d21a568ca9.zip | |
oprofile: fix linker errors
Commit e9677b3ce (oprofile, ARM: Use oprofile_arch_exit() to
cleanup on failure) caused oprofile_perf_exit to be called
in the cleanup path of oprofile_perf_init. The __exit tag
for oprofile_perf_exit should therefore be dropped.
The same has to be done for exit_driverfs as well, as this
function is called from oprofile_perf_exit. Else, we get
the following two linker errors.
LD .tmp_vmlinux1
`oprofile_perf_exit' referenced in section `.init.text' of arch/arm/oprofile/built-in.o: defined in discarded section `.exit.text' of arch/arm/oprofile/built-in.o
make: *** [.tmp_vmlinux1] Error 1
LD .tmp_vmlinux1
`exit_driverfs' referenced in section `.text' of arch/arm/oprofile/built-in.o: defined in discarded section `.exit.text' of arch/arm/oprofile/built-in.o
make: *** [.tmp_vmlinux1] Error 1
Signed-off-by: Anand Gadiyar <[email protected]>
Cc: Will Deacon <[email protected]>
Signed-off-by: Robert Richter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
