X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fso-info.h;fp=include%2Fbabeltrace%2Fso-info.h;h=7badeb2fa43940e4b4cd5e37670866831db06f2d;hb=9f2b13cae85e28d5eae8e77f7ceab8b314c20e8d;hp=453aa8a75146b460c46b218b97b58af74562c5a9;hpb=51a9f65dcf8b3e55791131ec530331a10439026a;p=babeltrace.git diff --git a/include/babeltrace/so-info.h b/include/babeltrace/so-info.h index 453aa8a7..7badeb2f 100644 --- a/include/babeltrace/so-info.h +++ b/include/babeltrace/so-info.h @@ -87,12 +87,14 @@ int so_info_init(void); * @param path Path to the ELF file * @param low_addr Base address of the executable * @param memsz In-memory size of the executable + * @param is_pic Whether the executable is position independent + * code (PIC) * @returns Pointer to the new so_info on success, * NULL on failure. */ BT_HIDDEN struct so_info *so_info_create(const char *path, uint64_t low_addr, - uint64_t memsz); + uint64_t memsz, bool is_pic); /** * Destroy the given so_info instance