linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/5] libtraceevent: Optimize the print of tep fields
@ 2021-08-11 12:11 Yordan Karadzhov (VMware)
  2021-08-11 12:11 ` [PATCH v5 1/5] libtraceevent: Add dynamic_offset() Yordan Karadzhov (VMware)
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Yordan Karadzhov (VMware) @ 2021-08-11 12:11 UTC (permalink / raw)
  To: rostedt; +Cc: linux-trace-devel, Yordan Karadzhov (VMware)

Provide new capabilities for printing the content of the individual
fields of the event.

Changes in v5:
 - The loop over the tokens in _tep_print_field() is made circular
 in order to support the corner case when the fields and the tokens
 are listed in different order.
 - _tep_print_field() and print_selected_fields() are made "inline"
 in order to help the compiler to optimize out the unused variables
 (suggested by Steven).

Changes in v4:
 - Directly applying the modification in tep_print_field() suggested
 by Steven.
 - Optimizing the loop over the tokens in tep_print_fields().

Steven Rostedt (1):
  libtraceevent: Have all field args point to the field they represent

Yordan Karadzhov (VMware) (4):
  libtraceevent: Add dynamic_offset()
  libtraceevent: Improve tep_print_field()
  libtraceevent: Optimize tep_print_fields()
  libtraceevent: Add tep_print_selected_fields()

 src/event-parse.c | 297 +++++++++++++++++++++++++++++-----------------
 src/event-parse.h |   3 +
 2 files changed, 194 insertions(+), 106 deletions(-)

-- 
2.30.2


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-08-11 16:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-11 12:11 [PATCH v5 0/5] libtraceevent: Optimize the print of tep fields Yordan Karadzhov (VMware)
2021-08-11 12:11 ` [PATCH v5 1/5] libtraceevent: Add dynamic_offset() Yordan Karadzhov (VMware)
2021-08-11 15:50   ` Steven Rostedt
2021-08-11 12:12 ` [PATCH v5 2/5] libtraceevent: Have all field args point to the field they represent Yordan Karadzhov (VMware)
2021-08-11 12:12 ` [PATCH v5 3/5] libtraceevent: Improve tep_print_field() Yordan Karadzhov (VMware)
2021-08-11 12:12 ` [PATCH v5 4/5] libtraceevent: Optimize tep_print_fields() Yordan Karadzhov (VMware)
2021-08-11 16:21   ` Steven Rostedt
2021-08-11 12:12 ` [PATCH v5 5/5] libtraceevent: Add tep_print_selected_fields() Yordan Karadzhov (VMware)

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