lttng-dev.lists.lttng.org archive mirror
 help / color / mirror / Atom feed
* [lttng-dev] delay in Java/python events
@ 2023-07-10 15:49 Adel Belkhiri via lttng-dev
  0 siblings, 0 replies; only message in thread
From: Adel Belkhiri via lttng-dev @ 2023-07-10 15:49 UTC (permalink / raw)
  To: lttng-dev


[-- Attachment #1.1: Type: text/plain, Size: 742 bytes --]

Hello LTTng community,

Currently, I'm tracing a java (and Python) application using LTTng. I
noticed there is a considerable delay between the time the tracepoint
instruction is executed and the time its corresponding event is recorded by
LTTng. It seems that the problem comes from the fact that LTTng uses agents
to handle java/Python events. Is there any benchmark measuring such delay?
Is it possible to minimize this delay (for example by flushing the logger)?
Currently, I'm considering putting my tracepoints in a shared library and
calling them from within Java code using JNI so that events recording will
be "synchronous" with application code execution. Is there any other
technique that I can use? Thank you for your help.

Adel

[-- Attachment #1.2: Type: text/html, Size: 798 bytes --]

[-- Attachment #2: Type: text/plain, Size: 156 bytes --]

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-07-10 15:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-10 15:49 [lttng-dev] delay in Java/python events Adel Belkhiri via lttng-dev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).