X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=liblttng-ust%2Flttng-context.c;h=eeaaae4321219af741b83261e59d624ffda233eb;hb=b33b46f7161604cb9168e9bbc854413cf18269be;hp=e2032162e514c8e1aac85e6ee88a13c559cc0cb8;hpb=53569322d40ed45abe0368ddb08eb4a2738afc37;p=lttng-ust.git diff --git a/liblttng-ust/lttng-context.c b/liblttng-ust/lttng-context.c index e2032162..eeaaae43 100644 --- 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 */ - +#define _LGPL_SOURCE #include #include #include @@ -55,14 +55,6 @@ int lttng_find_context(struct lttng_ctx *ctx, const char *name) 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; @@ -387,3 +379,14 @@ error: 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) +{ +}