projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: typo: DECLARE_URCU_TLS_IE -> DEFINE_URCU_TLS_IE
[lttng-ust.git]
/
liblttng-ust
/
lttng-context.c
diff --git
a/liblttng-ust/lttng-context.c
b/liblttng-ust/lttng-context.c
index e2032162e514c8e1aac85e6ee88a13c559cc0cb8..eeaaae4321219af741b83261e59d624ffda233eb 100644
(file)
--- a/
liblttng-ust/lttng-context.c
+++ b/
liblttng-ust/lttng-context.c
@@
-20,7
+20,7
@@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-
+#define _LGPL_SOURCE
#include <lttng/ust-events.h>
#include <lttng/ust-tracer.h>
#include <lttng/ust-context-provider.h>
#include <lttng/ust-events.h>
#include <lttng/ust-tracer.h>
#include <lttng/ust-context-provider.h>
@@
-55,14
+55,6
@@
int lttng_find_context(struct lttng_ctx *ctx, const char *name)
return 0;
}
return 0;
}
-int lttng_context_is_app(const char *name)
-{
- if (strncmp(name, "$app.", strlen("$app.")) != 0) {
- return 0;
- }
- return 1;
-}
-
int lttng_get_context_index(struct lttng_ctx *ctx, const char *name)
{
unsigned int i;
int lttng_get_context_index(struct lttng_ctx *ctx, const char *name)
{
unsigned int i;
@@
-387,3
+379,14
@@
error:
lttng_destroy_context(*ctx);
return ret;
}
lttng_destroy_context(*ctx);
return ret;
}
+
+/* For backward compatibility. Leave those exported symbols in place. */
+struct lttng_ctx *lttng_static_ctx;
+
+void lttng_context_init(void)
+{
+}
+
+void lttng_context_exit(void)
+{
+}
This page took
0.028725 seconds
and
4
git commands to generate.