X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace%2Fso-info.h;h=7badeb2fa43940e4b4cd5e37670866831db06f2d;hp=453aa8a75146b460c46b218b97b58af74562c5a9;hb=1a4a1345c93d716d50cf10e4717f4cc895e313c6;hpb=ed02dbd550e1e068ae06b1ec5969fe1c49aec357 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