X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=liblttng-ust%2Flttng-context-vpid.c;h=53fb314b8c0da1bdf353f00c59c953879b4ed150;hb=6d9b54d845b08d54d3f483f1130b499516588db3;hp=5e5ed145d944adf08be61755eaa32faefe3e52b4;hpb=06b16a0bab0098e44c4cdffef2e92ed1e5a0abcc;p=lttng-ust.git diff --git a/liblttng-ust/lttng-context-vpid.c b/liblttng-ust/lttng-context-vpid.c index 5e5ed145..53fb314b 100644 --- a/liblttng-ust/lttng-context-vpid.c +++ b/liblttng-ust/lttng-context-vpid.c @@ -27,17 +27,6 @@ #include #include -#ifdef __linux__ -static inline -pid_t wrapper_getpid(void) -{ - return getpid(); -} - -void lttng_context_vpid_reset(void) -{ -} -#else /* * We cache the result to ensure we don't trigger a system call for * each event. @@ -60,7 +49,6 @@ void lttng_context_vpid_reset(void) { cached_vpid = 0; } -#endif static size_t vpid_get_size(struct lttng_ctx_field *field, size_t offset)