projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Don't override user variables within the build system
[lttng-ust.git]
/
liblttng-ust
/
ust-core.c
diff --git
a/liblttng-ust/ust-core.c
b/liblttng-ust/ust-core.c
index 0182d95722040a24d4a57969ff95071eaf51513a..5355f5c117ad62104c34ee1fd7cfe2d94f67f810 100644
(file)
--- a/
liblttng-ust/ust-core.c
+++ b/
liblttng-ust/ust-core.c
@@
-18,6
+18,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 <stdlib.h>
#include <lttng/ust-events.h>
#include <usterr-signal-safe.h>
#include <stdlib.h>
#include <lttng/ust-events.h>
#include <usterr-signal-safe.h>
@@
-106,3
+107,11
@@
void lttng_ust_dummy_get_value(struct lttng_ctx_field *field,
{
value->sel = LTTNG_UST_DYNAMIC_TYPE_NONE;
}
{
value->sel = LTTNG_UST_DYNAMIC_TYPE_NONE;
}
+
+int lttng_context_is_app(const char *name)
+{
+ if (strncmp(name, "$app.", strlen("$app.")) != 0) {
+ return 0;
+ }
+ return 1;
+}
This page took
0.024042 seconds
and
4
git commands to generate.