<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
Could you just do<br>
$ sudo apt-get install --reinstall lttng-modules-dkms<br>
<br>
and check in the output if you have any errors, or if it really
installs successfully?<br>
<br>
Maybe Ubuntu's patches already trickled down to 12.04 and you might
be hitting <a class="moz-txt-link-freetext" href="https://bugs.lttng.org/issues/814">https://bugs.lttng.org/issues/814</a><br>
<br>
<br>
Thanks,<br>
Alexandre<br>
<br>
<br>
<div class="moz-cite-prefix">On 07/07/2014 01:43 PM, Shariyar wrote:<br>
</div>
<blockquote
cite="mid:CAKQh6pjJ9SUFKtLwONVySiPbtP-udZCfs9L87mGszPVPCu2PKA@mail.gmail.com"
type="cite">
<pre wrap=""> lttng --version,
lttng (LTTng Trace Control) 2.4.1 - Époque Opaque
lttng-sessiond --version
2.4.1
I removed all LTTng packages from the system by manually searching in dpkg
and reinstalled it as follows:
sudo apt-get install lttng-tools lttng-modules-dkms babeltrace
The ppa in the system is: <a class="moz-txt-link-freetext" href="http://ppa.launchpad.net/lttng/ppa/ubuntu">http://ppa.launchpad.net/lttng/ppa/ubuntu</a>
Now, I get the following error:
sudo lttng list -k
Error: Unable to list kernel events: Kernel tracer not available
Error: Command error
I have encountered this problem on two different systems running Ubuntu
12.04, after the update of system and LTTng
Regards,
Shariyar
On Mon, Jul 7, 2014 at 11:42 AM, Thibault, Daniel <
<a class="moz-txt-link-abbreviated" href="mailto:Daniel.Thibault@drdc-rddc.gc.ca">Daniel.Thibault@drdc-rddc.gc.ca</a>> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">----------------------------------------------------------------------
Date: Sun, 6 Jul 2014 18:49:51 -0400
From: Shariyar <a class="moz-txt-link-rfc2396E" href="mailto:syed.shariyar@gmail.com"><syed.shariyar@gmail.com></a>
</pre>
<blockquote type="cite">
<pre wrap="">I am having a problem in generating a kernel trace using the latest
</pre>
</blockquote>
<pre wrap="">LTTng on Ubuntu 12.04.
</pre>
<blockquote type="cite">
<pre wrap="">It was working fine previously but when I updated LTTng it stopped
</pre>
</blockquote>
<pre wrap="">generating the trace contents. I did an uninstall and reinstall but it
didn't work either.
----------------------------------------------------------------------
Please define what you mean by "the latest LTTng". What are the
versions? ($ lttng --version, $ lttng-sessiond --version)
Daniel U. Thibault
Protection des systèmes et contremesures (PSC) | Systems Protection &
Countermeasures (SPC)
Cyber sécurité pour les missions essentielles (CME) | Mission Critical
Cyber Security (MCCS)
RDDC - Centre de recherches de Valcartier | DRDC - Valcartier Research
Centre
2459 route de la Bravoure
Québec QC G3J 1X5
CANADA
Vox : (418) 844-4000 x4245
Fax : (418) 844-4538
NAC : 918V QSDJ <a class="moz-txt-link-rfc2396E" href="http://www.travelgis.com/map.asp?addr=918V%20QSDJ"><http://www.travelgis.com/map.asp?addr=918V%20QSDJ></a>
Gouvernement du Canada | Government of Canada
<a class="moz-txt-link-rfc2396E" href="http://www.valcartier.drdc-rddc.gc.ca/"><http://www.valcartier.drdc-rddc.gc.ca/></a>
</pre>
</blockquote>
<pre wrap="">
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
lttng-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:lttng-dev@lists.lttng.org">lttng-dev@lists.lttng.org</a>
<a class="moz-txt-link-freetext" href="http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev">http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>