Add is_pic field to statedump soinfo event
[lttng-ust.git] / include / lttng / ust-elf.h
index fee52f9ef2ff0f5f432968f524e1e6dd0051d926..e9b0ac7b4e3ea22b86a53781b908f26f27749623 100644 (file)
@@ -195,9 +195,9 @@ struct lttng_ust_elf_nhdr {
 
 struct lttng_ust_elf {
        /* Offset in bytes to start of section names string table. */
-       uint64_t section_names_offset;
+       off_t section_names_offset;
        /* Size in bytes of section names string table. */
-       uint64_t section_names_size;
+       size_t section_names_size;
        char *path;
        int fd;
        struct lttng_ust_elf_ehdr *ehdr;
@@ -219,6 +219,7 @@ int is_elf_native_endian(struct lttng_ust_elf *elf)
 
 struct lttng_ust_elf *lttng_ust_elf_create(const char *path);
 void lttng_ust_elf_destroy(struct lttng_ust_elf *elf);
+uint8_t lttng_ust_elf_is_pic(struct lttng_ust_elf *elf);
 int lttng_ust_elf_get_memsz(struct lttng_ust_elf *elf, uint64_t *memsz);
 int lttng_ust_elf_get_build_id(struct lttng_ust_elf *elf, uint8_t **build_id,
                        size_t *length, int *found);
This page took 0.02384 seconds and 4 git commands to generate.