From: mathieu.desnoyers@efficios.com (Mathieu Desnoyers)
Subject: [lttng-dev] LTTng-modules with RT kernel
Date: Mon, 24 Oct 2016 17:30:54 +0000 (UTC) [thread overview]
Message-ID: <235909180.1299.1477330254016.JavaMail.zimbra@efficios.com> (raw)
In-Reply-To: <CAAqXYd31SHfHyrW2SWrBe8EmbQnAc1dwNXy0xo+EXXLXYaEung@mail.gmail.com>
----- On Oct 24, 2016, at 11:23 AM, Gaylord Charles <gaylord.charles at veo-labs.com> wrote:
> Hello,
> I am currently testing LTTng latest versions with a PREEMPT_RT kernel
> (4.6.7-rt12). I've got:
> - LTTng-modules 2.8.3
> - LTTng-tools 2.8.2
> - LTTng-UST 2.8.1
> When calling "lttng create", the following message appears:
> Cannot add context lttng_add_preemptible_to_ctx
> Cannot add context lttng_add_migratable_to_ctx
> A quick look at the source code (lttng-context.c) makes me wonder if there could
> be a bug. The "lttng_add_preemptible_to_ctx" function returns 0, so if my
> understanding is correct, there is no problem.
> Do I miss something ?
Fix pushed into master, stable-2.9, and stable-2.8 of lttng-modules:
commit d0e59d6f099f4663cc62bffb59d960cd4235064f
Author: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
Date: Mon Oct 24 13:27:01 2016 -0400
Fix: preemptible and migratable context error handling
When built against preempt-rt and preempt kernels, the "return 0" case
means success, but lttng-modules incorrectly prints an error in the
kernel log.
Given that we handle the -ENOSYS error in lttng_context_init, there is
no need to keep the ifdefs in that function.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
Thanks for reporting!
Mathieu
> Regards.
> Gaylord
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20161024/92e47b9e/attachment.html>
prev parent reply other threads:[~2016-10-24 17:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-24 15:23 Gaylord Charles
2016-10-24 17:30 ` Mathieu Desnoyers [this message]
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=235909180.1299.1477330254016.JavaMail.zimbra@efficios.com \
--to=mathieu.desnoyers@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