<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi,<br>
    <br>
    <span id="result_box" class="short_text" lang="en"><span class="hps">Nobody
        can</span> <span class="hps">help me?<br>
        <br>
        now i have </span></span><span id="result_box"
      class="short_text" lang="en"><span class="hps">ubuntu </span></span><span
      id="result_box" class="short_text" lang="en"><span class="hps">13.10
      </span></span><span id="result_box" class="short_text" lang="en"><span
        class="hps">installed  in a vmware.<br>
        but i have the same error!<br>
        <br>
        s$ sudo make modules_install<br>
        make -C /lib/modules/3.11.0-12-generic/build
        M=/home/klaus/lttng_src/lttng-modules modules_install<br>
        make[1]: Entering directory
        `/usr/src/linux-headers-3.11.0-12-generic'<br>
          INSTALL
        /home/klaus/lttng_src/lttng-modules/lib/lttng-lib-ring-buffer.ko<br>
        Can't read private key<br>
        ....<br>
        lsmod | grep lttng<br>
        -> no module found<br>
        <br>
        Thanks!<br>
        <br>
      </span></span>
    <div class="moz-cite-prefix">Am 13.11.2013 18:37, schrieb Klaus
      Dannecker:<br>
    </div>
    <blockquote cite="mid:5283B8BD.9020703@gmx.de" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <br>
      <div class="moz-cite-prefix">Am 09.11.2013 09:33, schrieb Klaus
        Dannecker:<br>
      </div>
      <blockquote cite="mid:527DF369.4020704@gmx.de" type="cite">Hi, <br>
        I want to write a driver with trace events. <br>
        In the first step i compile the example  trace-events-sample.c
        with the makefile: <br>
        <br>
        ifneq ($(KERNELRELEASE),) <br>
            obj-m  := modul_trace-events-sample.o <br>
            modul_trace-events-sample-y := trace-events-sample.o <br>
            ccflags-y := -I$(src) <br>
        else <br>
            KDIR ?= /lib/modules/`uname -r`/build <br>
        default: <br>
            $(MAKE) -C $(KDIR) M=$$PWD <br>
        endif <br>
        <br>
        now i get the modul_trace-events-sample.ko File. <br>
        now: <br>
        insmod modul_trace-events-sample.ko <br>
        lttng create <br>
        lttng enable-event -k -a <br>
        lttng start <br>
        ...wait... <br>
        lttng stop <br>
        lttng destroy <br>
        <br>
        now i look the result in the eclise viewer, but i found event
        "trace_foo_bar" not in the session! <br>
        what am I doing wrong? <br>
        <br>
        I use ubuntu 13.04 in a vmware <br>
        <br>
        Thanks <br>
        <br>
        _______________________________________________ <br>
      </blockquote>
      Hi,<br>
      <br>
      now i found a answer:<br>
      <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://lists.lttng.org/pipermail/lttng-dev/2013-October/021540.html">http://lists.lttng.org/pipermail/lttng-dev/2013-October/021540.html</a><br>
      now i download the lttng-module and compiled it.<br>
      <pre><code>$ git clone git:<wbr>//gi<wbr>t.lt<wbr>tng.<wbr>org/<wbr>lttn<wbr>g-mo<wbr>dule<wbr>s.gi<wbr>t
</code><code>$ cd lttng-tools</code>
<code>$ make</code>
<code>$ sudo make modules_install
</code><span id="result_box" class="short_text" lang="en"><span class="hps">here I get</span> <span class="hps">error
INSTALL /mnt/hgfs/shared_Folder/lttng-modules/lib/lttng-lib-ring-buffer.ko
Can't read private key
...
</span></span><span id="result_box" class="short_text" lang="en"><span class="hps">what does that mean?
</span></span><span id="result_box" class="short_text" lang="en"><span class="hps"><span id="result_box" class="short_text" lang="en"><span class="hps"><span id="result_box" class="short_text" lang="en"><span class="hps"><span id="result_box" class="short_text" lang="en"><span class="hps">what</span> <span class="hps">should I do?</span></span></span></span></span></span>

please help me!

</span></span><span id="result_box" class="short_text" lang="en"><span class="hps"><span id="result_box" class="short_text" lang="en"><span class="hps">another question:
when i create a </span></span></span></span><span id="result_box" class="short_text" lang="en"><span class="hps"><span id="result_box" class="short_text" lang="en"><span class="hps">trace events in module_a,
can i use it in module_b?
if yes, </span></span></span></span><span id="result_box" class="short_text" lang="en"><span class="hps"><span id="result_box" class="short_text" lang="en"><span class="hps"><span id="result_box" class="short_text" lang="en"><span class="hps">what</span> <span class="hps">should I do?</span></span></span></span></span></span></pre>
      thanks Klaus<br>
      <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>