All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yang Wang <yangw.wang5@unb.ca>
To: "lttng-dev@lists.lttng.org" <lttng-dev@lists.lttng.org>
Cc: Kenneth Kent <ken@unb.ca>, "," <Grame_johson@ca.ibm.com>
Subject: bug?
Date: Wed, 23 Jan 2013 20:09:30 +0000	[thread overview]
Message-ID: <8E0A14A4C9B95B459AE214584119C1EB3BC909B3__21184.7803243019$1358972290$gmane$org@Hal.ad.unb.ca> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1317 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 2558 bytes --]

[-- Attachment #2: Type: text/plain, Size: 155 bytes --]

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

             reply	other threads:[~2013-01-23 20:10 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-23 20:09 Yang Wang [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-08-05  2:42 BUG, Su Yanjun
2016-07-24 13:46 Bug: "git log --format='format:%+s%+b'" doesn't insert newline before body Ilya Tumaykin
2016-07-25  6:55 ` Bug: Beat Bolli
2015-04-10 18:27 Bug? Barclay Jameson
2014-04-21 16:16 Bug: "corrupt leaf. slot offset bad": root subvolume unmountable, "btrfs check" crashes Andreas Reis
2014-04-21 19:13 ` Andreas Reis
2014-04-22 18:16   ` Andreas Reis
2014-04-23  2:55     ` Duncan
2014-04-25  2:04       ` Bug: Andreas Reis
2014-02-17 10:28 bug? Dirk Winning, junidas GmbH
2014-02-17 14:51 ` bug? Pasi Kärkkäinen
2013-11-20 22:18 BUG?? Bruno Bruzzano
2013-11-21 12:02 ` BUG?? Luiz Augusto von Dentz
2013-11-21 14:07   ` BUG?? Bruno Bruzzano
2013-11-21 14:17     ` BUG?? Bruno Bruzzano
     [not found] <8E0A14A4C9B95B459AE214584119C1EB3BC909B3@Hal.ad.unb.ca>
2013-01-28 16:37 ` bug? Mathieu Desnoyers
2012-11-23 10:32 Bug? Dirk Winning
2012-11-23 16:46 ` Bug? George Dunlap
2012-04-21 12:53 bug? Thomas Weber
2012-04-24 15:26 ` bug? Josef Bacik
2012-04-24 15:47   ` bug? Thomas Weber
2011-11-23  9:18 Bug? Kormos 'Morc' Gábor
2012-03-22 11:07 ` Bug? Kormos 'Morc' Gábor
2010-02-26 11:15 Bug ;( Ян Программист
2009-08-12 22:07 bug: Dennis Gilmore
2008-08-23 16:17 BUG? Mateyko
2008-08-25 21:35 ` BUG? Luis R. Rodriguez
2007-04-01 13:39 Bug? Sascha Curth
2007-04-01 13:54 ` Bug? Michal Piotrowski
2005-05-19  6:25 bug? Holub Zoltan
2005-05-19  6:25 ` bug? Rudolf Marek
2003-10-08 18:08 BUG ? :) =?unknown-8bit?q?Jos=E9?= Mans
2003-10-08 19:07 ` Alex Zarochentsev
2003-07-17 23:40 Bug? WebExplode.com
2003-06-30 10:15 Bug? Hrvoje Habjanic
2003-03-17 14:06 bug ? Andreas Westin
2002-05-21  9:48 BUG? alex-n
2002-05-21 10:14 ` BUG? Wilfried Weissmann
2001-12-31 18:09 bug ? Klaus Zerwes
2001-12-31 18:51 ` Stephan von Krawczynski
2002-01-05 11:44   ` Klaus Zerwes
2002-01-05 15:37   ` Stephan von Krawczynski
2002-01-02 14:03 ` Simon Richter
2001-12-08  0:31 bug?? wolvie_cobain
2001-12-07 10:33 Bug? Ian Molton
2001-12-07 10:56 ` Bug? DevilKin

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__21184.7803243019$1358972290$gmane$org@Hal.ad.unb.ca' \
    --to=yangw.wang5@unb.ca \
    --cc=Grame_johson@ca.ibm.com \
    --cc=ken@unb.ca \
    --cc=lttng-dev@lists.lttng.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.