[lttng-dev] Adding a simple "look here" event to the trace

"Danter, Richard via lttng-dev" <[email protected]>
Newsgroups org.lttng.lists.lttng-dev
Message-ID <[email protected]>
Hi all,

I am investigating an issue that takes some time to reproduce. Finding
the right point in the logs is therefore very difficult.

Since I can detect when the issue happens in the kernel I would like to
be able to emit an event into the trace that I can then search for in
Trace Compass of through Babeltrace. So basically a kind of flag that
says "look here". That way I can jump right to the problem and then
look backwards from there to see what happened just before.

I have looked at the docs for how to add a trace point, but it seems
pretty complicated. I may have missed something though, so I wonder if
there is a trivial way to add such a flag to the log? Up to now I just
put a printk() in which helps, but would still be nicer to have
something directly in the log.

If there isn't such a thing already, then would it be a reasonable
enhancement request to be able to add such a feature?

Thanks
Rich

_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEErzjP234FF8wy07NdNk3LIt9/FNUFAmT6/c4ACgkQNk3LIt9/
FNWW1gf8DObQzo4633FGOXJ+NcasoYDVXCUKPoJj5lDCNITQf3V3MZekwBn0T85q
6ZBQJBLvINCf9X1DrIl9ZKS/3teQuqkibV1aztwZV6qpuH/Wz6gLiHqGBD91J5fc
xgMTdEnNyyz4mH8Nqpxe7/AA9JZZtyXyeqDR3AWw+RgMxSJgFu9mfMcqbvA+X0Gx
rJ2/ZMUMYslseNn58vdQT6+wg7knUx5DdcgIyzoAdaXHBXDw3Twd5RCZ2rNkPZO3
tjv916AuVQrqMRc5kCRdsLDpLrg1CdbqK7adg97/MiIx3bPAlhZLtzRD2oXzQL/B
oT/99O52zp7cD7+7eS1/XvmoHvrb9g==
=UCbi
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.