From: radhika.putty@gmail.com (Radhika Chowdary)
Subject: [ltt-dev] Getting current process from Log files
Date: Fri, 1 Apr 2011 13:24:47 +0530 [thread overview]
Message-ID: <AANLkTikuECjnSYBuD+US_eBknyEcG6jR2rPZsGfSdo2w@mail.gmail.com> (raw)
Message-ID: <20110401075447.0sN1fqM5qvR5PBI2xuZnf20YSVyHp5YWiVdaQO7gqeA@z> (raw)
Hi
We are implementing importer for LTTng and not using any existing C parser
or linuxtools plugins. I need some info on how we get the currently running
process. From what i see from the existing C parser code i understand its
the sched_schedule event which can help in getting currently running
process. We get the timestamp of when a sched change event happened and add
the process to the stack with timestamp. So any event occuring after the
sched_schedule event we get the process that was scheduled in as currently
running process. Is my understanding currect. If that is true and we get an
event before any sched_schedule or fork events how can we get the process
that generated the event. Would it be the init process?
Thanks
Radhika
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20110401/ba75e611/attachment-0002.htm>
next reply other threads:[~2011-04-01 7:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-01 7:54 Radhika Chowdary [this message]
2011-04-01 7:54 ` Radhika Chowdary
2011-04-01 7:54 ` Radhika Chowdary
2011-04-01 15:18 ` 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=AANLkTikuECjnSYBuD+US_eBknyEcG6jR2rPZsGfSdo2w@mail.gmail.com \
--to=radhika.putty@gmail.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