This patch series does a cleanup of traceevent implementation and APIs: - All "pevent" function parameters and local variables are renamed to "tep". This makes the implementation consistent with the chosen naming convention, tep (trace event parser), and avoids any confusion with the old "pevent" name - Removed deprecated tep filter trivial APIs. - Removed call to exit() from one of traceevent APIs, a library function should not force the application to exit. - Added counter to track parsing failures. Changes depend on "Few patches, related to libtracevent APIs" patchset and should be applied on top of it. Tzvetomir Stoyanov (8): tools/perf,tools/lib/traceevent: Make traceevent APIs more consistent tools/lib/traceevent: Add counter to track parsing failures tools/lib/traceevent: Remove tep filter trivial APIs tools/lib/traceevent: rename input arguments of libtraceevent APIs from pevent to tep tools/perf,tools/lib/traceevent: rename "pevent" member of struct tep_event to "tep" tools/perf,tools/lib/traceevent: rename "pevent" member of struct tep_event_filter to "tep" tools/lib/traceevent: rename input arguments and local variables of libtraceevent from pevent to tep tools/lib/traceevent: remove call to exit() from tep_filter_add_filter_str() tools/lib/traceevent/event-parse-api.c | 181 ++-- tools/lib/traceevent/event-parse-local.h | 8 +- tools/lib/traceevent/event-parse.c | 817 +++++++++--------- tools/lib/traceevent/event-parse.h | 148 ++-- tools/lib/traceevent/event-plugin.c | 32 +- tools/lib/traceevent/parse-filter.c | 216 +---- tools/lib/traceevent/plugin_cfg80211.c | 8 +- tools/lib/traceevent/plugin_function.c | 14 +- tools/lib/traceevent/plugin_hrtimer.c | 12 +- tools/lib/traceevent/plugin_jbd2.c | 12 +- tools/lib/traceevent/plugin_kmem.c | 32 +- tools/lib/traceevent/plugin_kvm.c | 48 +- tools/lib/traceevent/plugin_mac80211.c | 8 +- tools/lib/traceevent/plugin_sched_switch.c | 18 +- tools/lib/traceevent/plugin_scsi.c | 8 +- tools/lib/traceevent/plugin_xen.c | 8 +- tools/perf/builtin-kmem.c | 2 +- tools/perf/util/data-convert-bt.c | 4 +- tools/perf/util/python.c | 2 +- .../util/scripting-engines/trace-event-perl.c | 2 +- .../scripting-engines/trace-event-python.c | 2 +- tools/perf/util/trace-event-parse.c | 2 +- tools/perf/util/trace-event-read.c | 2 +- tools/perf/util/trace-event.c | 4 +- 24 files changed, 719 insertions(+), 871 deletions(-) -- 2.20.1