From: Anton B. <an...@sa...> - 2003-02-17 13:53:30
|
Hi, Just a small patch to fix places where we need cookie_t. Anton diff -ru oprofile/daemon/opd_image.c oprofile_work/daemon/opd_image.c --- oprofile/daemon/opd_image.c 2003-02-12 13:39:52.000000000 +1100 +++ oprofile_work/daemon/opd_image.c 2003-02-18 00:30:35.000000000 +1100 @@ -299,7 +299,7 @@ /** * opd_add_image - add an image to the image hashlist */ -static struct opd_image * opd_add_image(unsigned long cookie, unsigned long app_cookie) +static struct opd_image * opd_add_image(cookie_t cookie, cookie_t app_cookie) { unsigned long hash = opd_hash_cookie(cookie); struct opd_image * image = opd_create_image(hash); @@ -309,7 +309,7 @@ if (separate_lib_samples) { image->app_image = opd_find_image(app_cookie, app_cookie); if (!image->app_image) { - verbprintf("image->app_image %p for cookie %lu\n", + verbprintf("image->app_image %p for cookie %llx\n", image->app_image, app_cookie); } } |