Created
April 28, 2015 14:53
-
-
Save GlenTiki/66f9be25c9b2c54b50eb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant@vagrant-ubuntu-trusty-64:~$ lttng create sessionA | |
Session sessionA created. | |
Traces will be written in /home/vagrant/lttng-traces/sessionA-20150428-145141 | |
vagrant@vagrant-ubuntu-trusty-64:~$ lttng list | |
Available tracing sessions: | |
1) sessionA (/home/vagrant/lttng-traces/sessionA-20150428-145141) [inactive] | |
Trace path: /home/vagrant/lttng-traces/sessionA-20150428-145141 | |
Live timer interval (usec): 0 | |
Use lttng list <session_name> for more details | |
vagrant@vagrant-ubuntu-trusty-64:~$ lttng create sessionB | |
Session sessionB created. | |
Traces will be written in /home/vagrant/lttng-traces/sessionB-20150428-145150 | |
vagrant@vagrant-ubuntu-trusty-64:~$ lttng enable-event -u -a | |
All UST events are enabled in channel channel0 | |
vagrant@vagrant-ubuntu-trusty-64:~$ lttng list | |
Available tracing sessions: | |
1) sessionB (/home/vagrant/lttng-traces/sessionB-20150428-145150) [inactive] | |
Trace path: /home/vagrant/lttng-traces/sessionB-20150428-145150 | |
Live timer interval (usec): 0 | |
2) sessionA (/home/vagrant/lttng-traces/sessionA-20150428-145141) [inactive] | |
Trace path: /home/vagrant/lttng-traces/sessionA-20150428-145141 | |
Live timer interval (usec): 0 | |
Use lttng list <session_name> for more details | |
vagrant@vagrant-ubuntu-trusty-64:~$ lttng list sessionB | |
Tracing session sessionB: [inactive] | |
Trace path: /home/vagrant/lttng-traces/sessionB-20150428-145150 | |
=== Domain: UST global === | |
Buffer type: per UID | |
Channels: | |
------------- | |
- channel0: [enabled] | |
Attributes: | |
overwrite mode: 0 | |
subbufers size: 131072 | |
number of subbufers: 4 | |
switch timer interval: 0 | |
read timer interval: 0 | |
trace file count: 0 | |
trace file size (bytes): 0 | |
output: mmap() | |
Events: | |
* (type: tracepoint) [enabled] | |
vagrant@vagrant-ubuntu-trusty-64:~$ lttng destroy sessionA | |
Session sessionA destroyed | |
vagrant@vagrant-ubuntu-trusty-64:~$ lttng list | |
Available tracing sessions: | |
1) sessionB (/home/vagrant/lttng-traces/sessionB-20150428-145150) [inactive] | |
Trace path: /home/vagrant/lttng-traces/sessionB-20150428-145150 | |
Live timer interval (usec): 0 | |
Use lttng list <session_name> for more details | |
vagrant@vagrant-ubuntu-trusty-64:~$ lttng enable-event -k -a | |
Error: Can't find valid lttng config /home/vagrant/.lttngrc | |
Did you create a session? (lttng create <my_session>) | |
Error: Command error |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment