[PATCH] profile: fix uaccess handling