Fix dynamic linking with GNU gold linker
[lttng-ust.git] / liblttng-ust / tracepoint.c
index 3a50df66a08de552256a342987c153dbcdd701e0..0393aa467a282b17139a05ae17fd8336e7271fb9 100644 (file)
@@ -579,3 +579,25 @@ void exit_tracepoint(void)
 {
        initialized = 0;
 }
+
+/*
+ * Create the wrapper symbols.
+ */
+#undef tp_rcu_read_lock_bp
+#undef tp_rcu_read_unlock_bp
+#undef tp_rcu_dereference_bp
+
+void tp_rcu_read_lock_bp(void)
+{
+       rcu_read_lock_bp();
+}
+
+void tp_rcu_read_unlock_bp(void)
+{
+       rcu_read_unlock_bp();
+}
+
+void *tp_rcu_dereference_sym_bp(void *p)
+{
+       return rcu_dereference_bp(p);
+}
This page took 0.025793 seconds and 4 git commands to generate.