linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] Changes in few libtraceevent APIs
@ 2019-08-01  7:49 Tzvetomir Stoyanov (VMware)
  2019-08-01  7:49 ` [PATCH v3 1/3] tools/lib/traceevent, tools/perf: Changes in tep_print_event_* APIs Tzvetomir Stoyanov (VMware)
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Tzvetomir Stoyanov (VMware) @ 2019-08-01  7:49 UTC (permalink / raw)
  To: rostedt; +Cc: linux-trace-devel

Before releasing libtraceevent as a standalone library, few
APIs must be changed:
 - Event printing interface is redesigned, to be more simple
   and user friendly. Now the tep_print_event() API can be used 
   to print various event information. All other event print APIs
   are removed.
 - Changed the user's plugin directory to 
   ~/.local/lib/traceevent/plugins/ to be XDG compliant.

[
 v3 changes:
   - The user's plugin directory is changed to ~/.local/lib/traceevent/plugins/,
     as Patrick McLean suggested.
   - New tep_print_event() item is added - TEP_PRINT_INFO_RAW, to print
     event information in raw format.
   - Removed prefix "tep_" from newly added static functions and few
     other changes, suggested by Steven Rostedt.
]
 
Tzvetomir Stoyanov (3):
  tools/lib/traceevent, tools/perf: Changes in tep_print_event_* APIs
  tools/lib/traceevent: Remove tep_register_trace_clock()
  tools/lib/traceevent: Change user's plugin directory

 tools/lib/traceevent/Makefile            |   6 +-
 tools/lib/traceevent/event-parse-api.c   |  40 ---
 tools/lib/traceevent/event-parse-local.h |   6 -
 tools/lib/traceevent/event-parse.c       | 333 +++++++++++++----------
 tools/lib/traceevent/event-parse.h       |  30 +-
 tools/lib/traceevent/event-plugin.c      |   2 +-
 tools/perf/builtin-kmem.c                |   3 +-
 tools/perf/util/sort.c                   |   3 +-
 tools/perf/util/trace-event-parse.c      |   2 +-
 9 files changed, 207 insertions(+), 218 deletions(-)

-- 
2.21.0


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

end of thread, other threads:[~2019-09-02  8:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-01  7:49 [PATCH v3 0/3] Changes in few libtraceevent APIs Tzvetomir Stoyanov (VMware)
2019-08-01  7:49 ` [PATCH v3 1/3] tools/lib/traceevent, tools/perf: Changes in tep_print_event_* APIs Tzvetomir Stoyanov (VMware)
2019-09-02  8:16   ` [tip: perf/core] libtraceevent, perf tools: " tip-bot2 for Tzvetomir Stoyanov
2019-08-01  7:49 ` [PATCH v3 2/3] tools/lib/traceevent: Remove tep_register_trace_clock() Tzvetomir Stoyanov (VMware)
2019-09-02  8:16   ` [tip: perf/core] libtraceevent: " tip-bot2 for Tzvetomir Stoyanov
2019-08-01  7:49 ` [PATCH v3 3/3] tools/lib/traceevent: Change user's plugin directory Tzvetomir Stoyanov (VMware)
2019-09-02  8:16   ` [tip: perf/core] libtraceevent: Change users " tip-bot2 for Tzvetomir Stoyanov

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