[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [RFC PATCH 0/3] Fix UST backend for LTTng 2.x

From: Mohamad Gebai
Subject: [Qemu-devel] [RFC PATCH 0/3] Fix UST backend for LTTng 2.x
Date: Mon, 30 Sep 2013 11:04:58 -0400

These patches fix the UST backend which got broken by LTTng 2.x.

An interesting new feature in LTTng 2.x is that tracepoints now need to belong
to a provider. A provider is a way to group tracepoints in a logical way, for
instance tracepoints that belong to a specific file or subsystem. This would
then allow users to enable all tracepoints of a specific provider at once.

In these patches, only one provider is defined, which is called "ust" (and
tracepoints are defined in generated-ust-provider.h). It would be interesting to
take advantage of this feature in the future, separating tracepoints into
multiple providers. Of course, this would require more modifications as well as
a way to specify to which provider each tracepoint belongs in file trace-events.


Mohamad Gebai (3):
  Fix configure script for LTTng 2.x
  Modified the tracetool framework for LTTng 2.x.
  Adapt Makefiles to the new LTTng ust interface.

 Makefile                                 |    5 ++
 configure                                |    9 ++--
 scripts/tracetool/backend/events.py      |   44 ++++++++++++++++
 scripts/tracetool/backend/ust.py         |   82 ++++++------------------------
 scripts/tracetool/format/ust_events_c.py |   30 +++++++++++
 scripts/tracetool/format/ust_events_h.py |   39 ++++++++++++++
 trace/Makefile.objs                      |   29 ++++++++++-
 7 files changed, 165 insertions(+), 73 deletions(-)
 create mode 100644 scripts/tracetool/format/ust_events_c.py
 create mode 100644 scripts/tracetool/format/ust_events_h.py


reply via email to

[Prev in Thread] Current Thread [Next in Thread]