From: yangw.wang5@unb.ca (Yang Wang)
Subject: [lttng-dev] bug?
Date: Wed, 23 Jan 2013 20:09:30 +0000 [thread overview]
Message-ID: <8E0A14A4C9B95B459AE214584119C1EB3BC909B3@Hal.ad.unb.ca> (raw)
Hello,
I am Yang Wang, I am currently using lttng to trace my JVM.
During my using lttng in tracing JVM, I found three problems,
1) in lttng-ust-2.1.0/include/lttng/ust-tracepoint-event.h
why using an assertion "assert(!ret);" (Line676)?
not allowing double registering and init?
if double registering or initialization (provider), why not allowed just returning silently instead
of aborting"? How about comments assert(!ret); ==>//assert(!ret); what is the side-effects
of doing this?
2) The other problem is in ./userspace-rcu-0.7.5/urcu/list.h Line85
I have to add a guard "if" statement as the assertion in my program fails otherwise
static inline void
__cds_list_del (struct cds_list_head *prev, struct cds_list_head *next)
{
if (prev != NULL && next != NULL) {
//assert(prev != NULL && next != NULL);
next->prev = prev;
prev->next = next;
}
3) Now my instrumented prog is ready to run. Here is my commands:
lttng create
lttng enable-event -u -a
lttng start
./prog
The (lttng) instrumented prog is stuck there without any outputs related to lttng tracing, how can I know what happen inside.
In other words, does lttng have any mechanism to trace itself?
Thanks
Yang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20130123/334ff07a/attachment.html>
next reply other threads:[~2013-01-23 20:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-23 20:09 Yang Wang [this message]
2013-01-28 16:37 ` Mathieu Desnoyers
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=8E0A14A4C9B95B459AE214584119C1EB3BC909B3@Hal.ad.unb.ca \
--to=yangw.wang5@unb.ca \
/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