X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=tests%2Fcompile%2Ftest-app-ctx%2Fhello.c;h=85df998486c3c56f6d2a7980e9e4b88e97de75c5;hb=b2e37d27accf5e32128b82392dbe1a9522c7dc20;hp=723f179f4809c9e8d13d8f1718eb1650ee4583ae;hpb=f3b06377a014332947b20cc4c266369ea85ddcfa;p=lttng-ust.git diff --git a/tests/compile/test-app-ctx/hello.c b/tests/compile/test-app-ctx/hello.c index 723f179f..85df9984 100644 --- a/tests/compile/test-app-ctx/hello.c +++ b/tests/compile/test-app-ctx/hello.c @@ -42,7 +42,9 @@ void test_inc_count(void) } static -size_t test_get_size(void *priv __attribute__((unused)), size_t offset) +size_t test_get_size(void *priv __attribute__((unused)), + struct lttng_ust_probe_ctx *probe_ctx __attribute__((unused)), + size_t offset) { int sel = test_count % _NR_LTTNG_UST_DYNAMIC_TYPES; size_t size = 0; @@ -104,6 +106,7 @@ size_t test_get_size(void *priv __attribute__((unused)), size_t offset) static void test_record(void *priv __attribute__((unused)), + struct lttng_ust_probe_ctx *probe_ctx __attribute__((unused)), struct lttng_ust_ring_buffer_ctx *ctx, struct lttng_ust_channel_buffer *lttng_chan_buf) { @@ -197,6 +200,7 @@ void test_record(void *priv __attribute__((unused)), static void test_get_value(void *priv __attribute__((unused)), + struct lttng_ust_probe_ctx *probe_ctx __attribute__((unused)), struct lttng_ust_ctx_value *value) { int sel = test_count % _NR_LTTNG_UST_DYNAMIC_TYPES;