Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: tim.tannert@tu-dortmund.de (Tim Tannert)
Subject: [lttng-dev] Problem with Kernel Module
Date: Mon, 17 Oct 2016 11:30:29 +0200	[thread overview]
Message-ID: <c0eb7c4a-e717-b76a-cfbd-96fe93f9aa7c@tu-dortmund.de> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2030 bytes --]

Hello,

I hope this is the right place for my question.

I want to trace a linux kernel Module with lttng. So I created a header file in "<module path>/tracing/tracepoint.h". I filled this header with information from http://lttng.org/docs/#doc-instrumenting-linux-kernel-itself (here the file is called hello,h). Then I included

#define CREATE_TRACE_POINTS
#include <../../tracing/tracepoint.h>

...
trace_hello_world(23, "initialized module");
...

in my modules source code.
But when I try to compile my module again, I got these message: http://pastebin.com/hXnZhJBS


I hope its not a simple failor caused by reading the wrong part of the documentation, but I'm a little bit confused, which part I need to read.
I read http://lttng.org/docs/#doc-instrumenting-out-of-tree-linux-kernel and there was a link to the above tutorial, which i used finaly.

I'm looking forward to a answer ;)

Tim



Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie ist ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für diese E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender und vernichten Sie diese Mail. Vielen Dank.
Unbeschadet der Korrespondenz per E-Mail, sind unsere Erklärungen ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher Schriftform (mit eigenhändiger Unterschrift) oder durch Übermittlung eines solchen Schriftstücks per Telefax erfolgen.

Important note: The information included in this e-mail is confidential. It is solely intended for the recipient. If you are not the intended recipient of this e-mail please contact the sender and delete this message. Thank you. Without prejudice of e-mail correspondence, our statements are only legally binding when they are made in the conventional written form (with personal signature) or when such documents are sent by fax.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20161017/1e9ff22a/attachment.html>


                 reply	other threads:[~2016-10-17  9:30 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=c0eb7c4a-e717-b76a-cfbd-96fe93f9aa7c@tu-dortmund.de \
    --to=tim.tannert@tu-dortmund.de \
    /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