From: Tzvetomir Stoyanov <tstoyanov@vmware.com>
To: "rostedt@goodmis.org" <rostedt@goodmis.org>
Cc: "linux-trace-devel@vger.kernel.org" <linux-trace-devel@vger.kernel.org>
Subject: [PATCH v3 00/15] tools/lib/traceevent,tools/perf: Various changes in libtraceevent APIs
Date: Wed, 28 Nov 2018 09:07:27 +0000 [thread overview]
Message-ID: <20181128090711.17792-1-tstoyanov@vmware.com> (raw)
This patch series includes changes, related to transformation of
traceevent into a library:
Renamed few libtracevent APIs.
Introduced two new APIs: tep_get_ref() and tep_override_comm().
Removed tep_data_event_from_type() API.
Changed return logic of tep_register_event_handler() and trace_seq_printf()
Added support for pkg-config infrastructure
Changed describtion of few APIs, to be consistent with the man pages.
v2 combines all recent API related pacthes, which are still not accepted
into one series. It also removes any dependencies between them and the
man page related changes.
v3 splits patch
"tools/lib/traceevent: Changed return logic of tep_register_event_handler() API"
into 2 patches:
"tools/lib/traceevent: Changed return logic of tep_register_event_handler() API"
"tools/lib/traceevent: Remove tep_data_event_from_type() API"
Tzvetomir Stoyanov (15):
tools/lib/traceevent: Implemented new API tep_get_ref()
tools/lib/traceevent: Added support for pkg-config
tools/lib/traceevent: Install trace-seq.h API header file
tools/lib/traceevent, tools/perf: Rename struct tep_event_format to
struct tep_event
tools/lib/traceevent: Rename tep_free_format() to tep_free_event()
tools/perf: traceevent API cleanup, remove __tep_data2host*()
tools/lib/traceevent: traceevent API cleanup
tools/lib/traceevent: Introduce new libtracevent API:
tep_override_comm()
tools/lib/traceevent: Initialize host_bigendian at tep_handle
allocation
tools/lib/traceevent: Rename struct cmdline to struct tep_cmdline
tools/lib/traceevent: Changed return logic of trace_seq_printf() and
trace_seq_vprintf() APIs
tools/lib/traceevent: Changed return logic of
tep_register_event_handler() API
tools/lib/traceevent: Rename tep_is_file_bigendian() to
tep_file_bigendian()
tools/lib/traceevent: Change description of few APIs
tools/lib/traceevent: Remove tep_data_event_from_type() API
tools/lib/traceevent/Makefile | 27 +-
tools/lib/traceevent/event-parse-api.c | 37 +-
tools/lib/traceevent/event-parse-local.h | 17 +-
tools/lib/traceevent/event-parse.c | 343 ++++++++++--------
tools/lib/traceevent/event-parse.h | 94 +++--
.../lib/traceevent/libtraceevent.pc.template | 10 +
tools/lib/traceevent/parse-filter.c | 42 +--
tools/lib/traceevent/plugin_function.c | 2 +-
tools/lib/traceevent/plugin_hrtimer.c | 4 +-
tools/lib/traceevent/plugin_kmem.c | 2 +-
tools/lib/traceevent/plugin_kvm.c | 16 +-
tools/lib/traceevent/plugin_mac80211.c | 4 +-
tools/lib/traceevent/plugin_sched_switch.c | 4 +-
tools/lib/traceevent/trace-seq.c | 17 +-
tools/perf/builtin-trace.c | 2 +-
tools/perf/util/evsel.h | 4 +-
tools/perf/util/header.c | 2 +-
tools/perf/util/python.c | 4 +-
.../util/scripting-engines/trace-event-perl.c | 6 +-
.../scripting-engines/trace-event-python.c | 8 +-
tools/perf/util/trace-event-parse.c | 16 +-
tools/perf/util/trace-event-read.c | 4 +-
tools/perf/util/trace-event.c | 8 +-
tools/perf/util/trace-event.h | 16 +-
24 files changed, 387 insertions(+), 302 deletions(-)
create mode 100644 tools/lib/traceevent/libtraceevent.pc.template
--
2.19.1
next reply other threads:[~2018-11-28 20:08 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-28 9:07 Tzvetomir Stoyanov [this message]
2018-11-28 9:07 ` [PATCH v3 01/15] tools/lib/traceevent: Implemented new API tep_get_ref() Tzvetomir Stoyanov
2018-11-28 20:01 ` Steven Rostedt
2018-11-28 9:07 ` [PATCH v3 02/15] tools/lib/traceevent: Added support for pkg-config Tzvetomir Stoyanov
2018-11-28 20:14 ` Steven Rostedt
2018-11-28 20:15 ` Steven Rostedt
2018-11-28 9:07 ` [PATCH v3 03/15] tools/lib/traceevent: Install trace-seq.h API header file Tzvetomir Stoyanov
2018-11-28 9:07 ` [PATCH v3 04/15] tools/lib/traceevent, tools/perf: Rename struct tep_event_format to struct tep_event Tzvetomir Stoyanov
2018-11-28 9:07 ` [PATCH v3 05/15] tools/lib/traceevent: Rename tep_free_format() to tep_free_event() Tzvetomir Stoyanov
2018-11-28 9:07 ` [PATCH v3 06/15] tools/perf: traceevent API cleanup, remove __tep_data2host*() Tzvetomir Stoyanov
2018-11-28 9:07 ` [PATCH v3 07/15] tools/lib/traceevent: traceevent API cleanup Tzvetomir Stoyanov
2018-11-28 9:07 ` [PATCH v3 08/15] tools/lib/traceevent: Introduce new libtracevent API: tep_override_comm() Tzvetomir Stoyanov
2018-11-28 9:07 ` [PATCH v3 09/15] tools/lib/traceevent: Initialize host_bigendian at tep_handle allocation Tzvetomir Stoyanov
2018-11-28 9:07 ` [PATCH v3 10/15] tools/lib/traceevent: Rename struct cmdline to struct tep_cmdline Tzvetomir Stoyanov
2018-11-28 9:07 ` [PATCH v3 11/15] tools/lib/traceevent: Changed return logic of trace_seq_printf() and trace_seq_vprintf() APIs Tzvetomir Stoyanov
2018-11-28 9:07 ` [PATCH v3 12/15] tools/lib/traceevent: Changed return logic of tep_register_event_handler() API Tzvetomir Stoyanov
2018-11-28 9:07 ` [PATCH v3 13/15] tools/lib/traceevent: Rename tep_is_file_bigendian() to tep_file_bigendian() Tzvetomir Stoyanov
2018-11-28 9:07 ` [PATCH v3 14/15] tools/lib/traceevent: Change description of few APIs Tzvetomir Stoyanov
2018-12-01 3:43 ` Steven Rostedt
2018-12-01 3:58 ` Steven Rostedt
2019-03-13 15:56 ` Steven Rostedt
2018-11-28 9:07 ` [PATCH v3 15/15] tools/lib/traceevent: Remove tep_data_event_from_type() API Tzvetomir Stoyanov
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=20181128090711.17792-1-tstoyanov@vmware.com \
--to=tstoyanov@vmware.com \
--cc=linux-trace-devel@vger.kernel.org \
--cc=rostedt@goodmis.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.