From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46323) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VQf29-0005Ce-Ti for qemu-devel@nongnu.org; Mon, 30 Sep 2013 11:05:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VQf25-0003xS-2s for qemu-devel@nongnu.org; Mon, 30 Sep 2013 11:05:13 -0400 Received: from mail-ie0-x22e.google.com ([2607:f8b0:4001:c03::22e]:50188) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VQf24-0003wv-Uv for qemu-devel@nongnu.org; Mon, 30 Sep 2013 11:05:09 -0400 Received: by mail-ie0-f174.google.com with SMTP id u16so10374498iet.19 for ; Mon, 30 Sep 2013 08:05:07 -0700 (PDT) From: Mohamad Gebai Date: Mon, 30 Sep 2013 11:04:58 -0400 Message-Id: <1380553501-20670-1-git-send-email-mohamad.gebai@polymtl.ca> Subject: [Qemu-devel] [RFC PATCH 0/3] Fix UST backend for LTTng 2.x List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Mohamad Gebai 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 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 -- 1.7.10.4