All of lore.kernel.org
 help / color / mirror / Atom feed
From: song <chensong@kylinos.cn>
To: xenomai@xenomai.org
Subject: some ftrace events are missed
Date: Sun, 2 Feb 2020 20:22:06 +0800	[thread overview]
Message-ID: <5e7d13d1-ee38-b1ee-3392-4bc19ff8cc4a@kylinos.cn> (raw)

hi guys,

I'm working on an issue with ftrace events, the call stack is like that:

__cobalt_clock_nanosleep
     xnthread_suspend
         xntimer_start
             xnclock_core_ns_to_ticks
                 xntimer_enqueue_and_program
                     xnclock_program_shot()
                         xnclock_core_local_shot
                             ipipe_timer_set


I tried to enable ftrace event with "-f" in cyclictest,however, i can 
only find:

cobalt_clock_entry: clock_irq=4
cobalt_timer_expire: timer=ffffffc07ffd5800
cobalt_clock_exit: clock_irq=4
cobalt_timer_start ....

event traces like trace_cobalt_clock_nanosleep or 
trace_cobalt_thread_suspend are missed, they are all defined in 
cobalt_core.h/cobalt_posix.h and visible in 
/sys/kernel/debugfs/tracing/events/cobalt-core(cobalt-posix).

Does anyone have the same problem before and i would appreciate it if 
you could let me know the way to solve it,many thanks

BR

Song









             reply	other threads:[~2020-02-02 12:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-02 12:22 song [this message]
2020-02-03  7:00 ` some ftrace events are missed Jan Kiszka
2020-02-10 12:48   ` song

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=5e7d13d1-ee38-b1ee-3392-4bc19ff8cc4a@kylinos.cn \
    --to=chensong@kylinos.cn \
    --cc=xenomai@xenomai.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.