thread safe library. It implements per thread local storage for
tep->last_event cache, and converts input_buf, input_buf_ptr
and input_buf_siz internal variables to be thread specific.
[backported from Linux kernel tree]
Tzvetomir Stoyanov (2):
tools/lib/traceevent: make libtraceevent thread safe
tools/lib/traceevent: make few libtraceevent internal variables to be
per thread
lib/traceevent/Makefile | 1 +
lib/traceevent/event-parse-local.h | 15 +++++--
lib/traceevent/event-parse-thread.c | 63 +++++++++++++++++++++++++++++
lib/traceevent/event-parse.c | 45 +++++++++++----------
4 files changed, 100 insertions(+), 24 deletions(-)
create mode 100644 lib/traceevent/event-parse-thread.c