Question about LTTng Context

Amir Najafi Zadeh via lttng-dev <[email protected]> Wed, 10 Dec 2025 21:40:45 -0500
Newsgroups org.lttng.lists.lttng-dev
Message-ID <CAOQX81f1zGCsnr3Ksjv0WoO-J4-OULanefNxzWdrxP8b4+aqJg@mail.gmail.com>
--0000000000000872c80645a41312
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hello everyone,

I hope you=E2=80=99re doing well. My name is Amir, and I=E2=80=99m a PhD st=
udent in the
Computer Science department at Stony Brook University, New York.

I have a question about the LTTng context that I haven=E2=80=99t been able =
to find
an answer for in the docs or man pages. Does LTTng support adding the
cgroup ID or cgroup path as a context field? I want to filter my trace
results based on cgroups.

If this isn=E2=80=99t supported, are there any plans to add it in future ve=
rsions,
such as 2.14?

For reference, I=E2=80=99m currently using LTTng 2.13 on Ubuntu 24.04 with =
kernel
6.8.0-87-generic.
Cheers,
Amir
--=20
*Amirhossein Najafizadeh*



*PhD Student, Computer Science Department, Stony Brook University, N.Y.File
systems and Storage Lab (FSL)*
[email protected]
https://amirhnajafiz.github.io/

--0000000000000872c80645a41312
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><p>Hello everyone,</p>
<p>I hope you=E2=80=99re doing well. My name is Amir, and I=E2=80=99m a PhD=
 student in the Computer Science department at Stony Brook University, New =
York.</p>
<p>I have a question about the LTTng context that I haven=E2=80=99t been ab=
le to find an answer for in the docs or man pages. Does LTTng support addin=
g the cgroup ID or cgroup path as a context field? I want to filter my trac=
e results based on cgroups.</p>
<p>If this isn=E2=80=99t supported, are there any plans to add it in future=
 versions, such as 2.14?</p>
<p>For reference, I=E2=80=99m currently using LTTng 2.13 on Ubuntu 24.04 wi=
th kernel 6.8.0-87-generic.</p></div><div>Cheers,<br>Amir</div><span class=
=3D"gmail_signature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_s=
ignature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><b><font face=
=3D"garamond, times new roman, serif">Amirhossein Najafizadeh</font></b><di=
v><font face=3D"garamond, times new roman, serif"><b>PhD Student, Computer =
Science Department, Stony Brook University, N.Y.<br>File systems and Storag=
e Lab (FSL)<br><br></b></font><div><font face=3D"garamond, times new roman,=
 serif"><a href=3D"mailto:[email protected]" target=3D"_blank">najafi=
[email protected]</a></font></div><div><a href=3D"https://amirhnajafiz.gith=
ub.io/" target=3D"_blank"><font face=3D"garamond, times new roman, serif">h=
ttps://amirhnajafiz.github.io/</font></a></div></div></div></div></div>

--0000000000000872c80645a41312--