[PATCH v3 0/2] trace-cmd report: support function retval in function_graph

Jianfeng Wang <[email protected]>
Newsgroups org.kernel.vger.linux-trace-devel
Message-ID <[email protected]>
The upstream Linux kernel has introduced a funcgraph retval feature
for the function_graph tracer. (Commit ID:
a1be9ccc57f07d54278be34eed6bd679bc941c97). This patchset is to utilize
this feature to support printing each function's return value in
'trace-cmd report'. Add three fgraph options so that users can skip
the printing, and force the return values to be printed in decimal
or in hex format.

Change history:
===============
v3:
- Fix code format.
- Add fgraph:retval-dec option.

v2:
- Check if a retval is an error code: if not, print it in hex.
- Make this retval feature on by default.
- Add fgraph:retval-skip and fgraph:retval-hex options.

v1: https://lore.kernel.org/linux-trace-devel/[email protected]

Jianfeng Wang (2):
  trace-cmd report: Print function retval in function_graph
  trace-cmd report: Add options for the fgraph retval feature

 lib/trace-cmd/trace-ftrace.c | 72 ++++++++++++++++++++++++++++++++++++
 1 file changed, 72 insertions(+)

-- 
2.42.1
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.