From: jeremie.galarneau@efficios.com (Jérémie Galarneau)
Subject: [lttng-dev] [RFC lttng-tools] Save and restore feature
Date: Mon, 10 Feb 2014 13:44:15 -0500 [thread overview]
Message-ID: <CA+jJMxvGgEzVdg85aL=ucyfn9hS+Tg6duyJpfUbcqyZh32Lemg@mail.gmail.com> (raw)
Hi all,
I'd like to submit the following patches from my personal lttng-tools
branch for merge in master[1].
a923fbe - session_find_by_name does not need a non-const name parameter
7fca51a - Fix: tcp4 and net4 protocol support in uri_parse
e6fc6a3 - Send filter expression string to session daemon
904fbd7 - Add a dependency to libxml2
dc9e590 - Add a config_writer API based on libxml2
c3e9d95 - Add session configuration XSD
afced3a - Add a save API to lttng-ctl
a933bdf - Add session configuration save feature to session daemon
79a9e3d - Add a save command based on the save API to the lttng client
7ae1b6b - Add session configuration load capability to libconfig
7e4b250 - Add load command to the lttng client
These patches add the ability to save and restore session
configurations using the lttng command-line client. The session
configurations are saved as XML following a schema which is included
in the patches.
Quick user guide to try out this feature:
# Create a session as usual
lttng create my_session
lttng enable-event -k -a
lttng enable-event -u -a
lttng add-context -k -t perf:cache-misses
# Save.. This will create a my_session.lttng file under ~/.lttng/sessions
lttng save my_session
# Destroy the session
lttng destroy
# Load the session... lttng will look in the user's home directory and
# in the system trace configuration directory (/etc/lttng/sessions)
for a session
# matching this name and load it.
lttng load my_session
Looking forward to your comments,
J?r?mie
[1] https://github.com/jgalar/lttng-tools.git
--
J?r?mie Galarneau
EfficiOS Inc.
http://www.efficios.com
reply other threads:[~2014-02-10 18:44 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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='CA+jJMxvGgEzVdg85aL=ucyfn9hS+Tg6duyJpfUbcqyZh32Lemg@mail.gmail.com' \
--to=jeremie.galarneau@efficios.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox