Fix: perf counters context: error handling on type allocation
[lttng-ust.git] / liblttng-ust / lttng-ust-comm.c
index 0797ef3cf22591fe2c058dddbe4362adebdf4ff7..14046381789b6804bc31a3149d01cd3f10f765b4 100644 (file)
@@ -361,13 +361,17 @@ extern void lttng_ring_buffer_client_overwrite_rt_exit(void);
 extern void lttng_ring_buffer_client_discard_exit(void);
 extern void lttng_ring_buffer_client_discard_rt_exit(void);
 extern void lttng_ring_buffer_metadata_client_exit(void);
-LTTNG_HIDDEN
+
+__attribute__((visibility("hidden")))
 extern void lttng_counter_client_percpu_32_modular_init(void);
-LTTNG_HIDDEN
+
+__attribute__((visibility("hidden")))
 extern void lttng_counter_client_percpu_32_modular_exit(void);
-LTTNG_HIDDEN
+
+__attribute__((visibility("hidden")))
 extern void lttng_counter_client_percpu_64_modular_init(void);
-LTTNG_HIDDEN
+
+__attribute__((visibility("hidden")))
 extern void lttng_counter_client_percpu_64_modular_exit(void);
 
 static char *get_map_shm(struct sock_info *sock_info);
@@ -455,7 +459,6 @@ int lttng_get_notify_socket(void *owner)
 }
 
 
-LTTNG_HIDDEN
 char* lttng_ust_sockinfo_get_procname(void *owner)
 {
        struct sock_info *info = owner;
@@ -2441,7 +2444,7 @@ void ust_after_fork_child(sigset_t *restore_sigset)
                return;
        lttng_context_vpid_reset();
        lttng_context_vtid_reset();
-       lttng_context_procname_reset();
+       lttng_ust_context_procname_reset();
        ust_context_ns_reset();
        ust_context_vuids_reset();
        ust_context_vgids_reset();
This page took 0.024602 seconds and 4 git commands to generate.