public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: rsmadhvesh@vsnl.net
To: Quentin Barnes <qbarnes@urbana.css.mot.com>
Cc: systemtap@sources.redhat.com, madhvesh.s@ap.sony.com,
	lubna@ap.sony.com,  satish.v@ap.sony.com
Subject: Re: Kprobes Support for ARM arch
Date: Sun, 14 Jan 2007 12:00:00 -0000	[thread overview]
Message-ID: <e319a4b41058b.45aa6134@vsnl.net> (raw)
In-Reply-To: <20070112200147.GA13943@urbana.css.mot.com>

Quentin Barnes wrote on Saturday, January 13, 2007 1:32 am
> >Hi All,
> >
> >Recently we completed the kprobes support for ARM architecture
> >targetted at 2.6.16 kernel. I have uploaded these patches in the 
> >below CELF wiki page along with few test programs.
> >This implementation is tested using 2.6.16-24 kernel for 
> >OMAP5912 OSK reference platform. 
> >
> >The patch is available in the below CELF wiki page
> >http://tree.celinuxforum.org/CelfPubWiki/PatchArchive
> >
> >The patch can be downloaded directly from here
> >http://tree.celinuxforum.org/CelfPubWiki/PatchArchive?action=AttachFile&do=get&target=kprobes-arm-patches-2.6.16.24.tgz
> >
> >This implementation supports only kprobes and doesnot
> >support any other variants like jprobes, kretprobes etc.
> >Also it doesnot support branch/jump instructions probing.
> >
> >I noticed some discussions regarding ARM kprobes in the
> >archive. We are open to suggestions and how this implementation can
> >be improved. 
> 
> Abhishek Sagar and I have been working together on a joint ARM
> kprobes effort for some time.
> 
> We have kprobes, jprobes, kretprobes, and boosting support(*)
> hobbling along now for ARM.  The port is also SMP clean and
> preemption safe.  It is ported against 2.6.19.1.  We're pretty much
> code complete and doing cleanup, some manual optimizations, and
> testing now.  We're planning on releasing our patch probably about
> the end of this month.
> 
> If you like, I can send you our work-in-progress for your review.
Quite interesting, it may be good idea to combine the kprobes
ARM code and start discussions on how it can be pushed
to main line kernel. Ananth in his previous mail pointed out 
few interface changes in latest kernel for kprobes. Our kprobes
support was immediately required for 2.6.16-x kernel, so we started
with that kernel. Now i start checking for main line kernel changes and
we can merge and get it reviewed by ARM experts in arm-mail 
list and then it can be pushed for main line kernel.

> *) The boosting model I've implemented is not the standard boosting
>   model, but it effectively does the same thing my eliminating the
>   second breakpoint exception.  This approach works in all cases,
>   not for just some instructions, so the second breakpoint is never
>   necessary.
> 

-Madhvesh

      reply	other threads:[~2007-01-14 12:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-11 14:58 rsmadhvesh
2007-01-12  5:32 ` Ananth N Mavinakayanahalli
2007-01-12  5:43   ` rsmadhvesh
2007-01-18  8:52   ` rsmadhvesh
2007-01-18  9:05     ` rsmadhvesh
2007-01-18 15:43       ` Abhishek Sagar
2007-01-18 17:53         ` Abhishek Sagar
2007-01-12 20:02 ` Quentin Barnes
2007-01-14 12:00   ` rsmadhvesh [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=e319a4b41058b.45aa6134@vsnl.net \
    --to=rsmadhvesh@vsnl.net \
    --cc=lubna@ap.sony.com \
    --cc=madhvesh.s@ap.sony.com \
    --cc=qbarnes@urbana.css.mot.com \
    --cc=satish.v@ap.sony.com \
    --cc=systemtap@sources.redhat.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).