[FIX] Preload: use caller address from userspace 21/44421/5
authorVitaliy Cherepanov <v.cherepanov@samsung.com>
Tue, 21 Jul 2015 14:45:09 +0000 (17:45 +0300)
committerVasiliy Ulyanov <v.ulyanov@samsung.com>
Tue, 21 Jul 2015 17:43:28 +0000 (20:43 +0300)
commit507f8449e88209a6c63161fc471a6789267261d4
tree269ccc8576d7068a7626cc69a12c740f715cde56
parent968a6420dc345cc273c30838f89c8753a97379ca
[FIX] Preload: use caller address from userspace

This is a workaround for Tizen OpenGL probes. We cannot obtain the
expected caller address (i.e. the address in the target binary) from
kernel handlers because GL functions are actually called through
third-party libraries. To handle this situation we now pass the proper
address from userspace handlers.

Change-Id: Ibaa2190aed0c1587fa121feb13536b8ff267e680
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
preload/preload_module.c