X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Flttng-event-notifier-notification.c;h=b67af11a77ecf0763801030346d6ceefc5f7ace1;hb=e699ee6c837345eb408d600178cc6054ca131164;hp=f675de4b1dbddbf6522928d79e810fe2323172dc;hpb=99d223adfae9b68800e91bda470c92acb14efae6;p=lttng-modules.git diff --git a/src/lttng-event-notifier-notification.c b/src/lttng-event-notifier-notification.c index f675de4b..b67af11a 100644 --- a/src/lttng-event-notifier-notification.c +++ b/src/lttng-event-notifier-notification.c @@ -13,8 +13,12 @@ #include /* - * FIXME: this probably too low but it needs to be below 1024 bytes to avoid - * the frame to be larger than the 1024 limit enforced by the kernel. + * The capture buffer size needs to be below 1024 bytes to avoid the + * frame to be larger than the 1024 limit enforced by the kernel. If we + * ever need to increase it, we will need to use a memory allocation + * scheme which allows allocating temporary memory chunks from the + * instrumentation sites. This could be done by adapting lttng + * tp-mempool to become nmi-safe and lock-free. */ #define CAPTURE_BUFFER_SIZE 512