From: Steven Rostedt <rostedt@goodmis.org>
To: Linux Trace Devel <linux-trace-devel@vger.kernel.org>,
"linux-trace-users@vger.kernel.org"
<linux-trace-users@vger.kernel.org>,
Linux Trace Kernel <linux-trace-kernel@vger.kernel.org>
Subject: [ANNOUNCE] libtraceevent 1.9 released!
Date: Wed, 4 Feb 2026 14:23:50 -0500 [thread overview]
Message-ID: <20260204142350.518f5e8c@gandalf.local.home> (raw)
libtraceevent: 1.9.0
Changes since 1.8.6:
New APIs:
Addition of loading the BTF file (/sys/kernel/btf/vmlinux) into the tep
handle to allow it to parse function parameters:
cat-33501 [005] ..... 136155.767950: function: __x64_sys_execve(regs=0xffffc9000e3eff58)
cat-33501 [005] ..... 136155.767951: function: getname_flags(filename=0x7ffe7d33f3d0, flags=0)
cat-33501 [005] ..... 136155.767951: function: getname_flags.part.0(7ffe7d33f3d0, 0, 0, 0, 0, 0)
cat-33501 [005] ..... 136155.767951: function: kmem_cache_alloc_noprof(s=0xffff8881001d3800, gfpflags=0xcc0)
cat-33501 [005] ..... 136155.767951: function: fs_reclaim_acquire(gfp_mask=0xcc0)
cat-33501 [005] ..... 136155.767952: function: fs_reclaim_release(gfp_mask=0xcc0)
tep_load_btf() - loads the raw BTF file and parses it.
tep_btf_print_args() - parses the arguments of a given function with the
given parameters.
tep_btf_list_args() - list the arguments of a given function to produce
its prototype.
- Add API for persistent ring buffer processing:
tep_parse_last_boot_info() - Reads and parses the last_boot_info file of a
persistent ring buffer from a previous boot. This
has the information to convert the addresses of
functions from the previous boot to the addresses of
the corresponding function of the current boot.
tep_load_modules() - If last_boot_info is loaded, then /proc/modules
should also be loaded to compare where the addresses
of the modules were loaded in the last boot (found in
the last_boot_info) to where they are loaded in the
current boot. This is used to convert the addresses
of module functions from the last boot to the address
of their corresponding function in the current boot.
The above functions are used to be able to convert the addresses of the
functions from the previous boot to their corresponding functions of the
current boot that the kallsyms came from. (see tep_parse_kallsyms())
Updates:
- Handle __get_stacktrace() in the print-fmt field that synthetic events
can add when they have a stacktrace field.
reply other threads:[~2026-02-04 19:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260204142350.518f5e8c@gandalf.local.home \
--to=rostedt@goodmis.org \
--cc=linux-trace-devel@vger.kernel.org \
--cc=linux-trace-kernel@vger.kernel.org \
--cc=linux-trace-users@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox