kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: rpjday@crashcourse.ca (Robert P. J. Day)
To: kernelnewbies@lists.kernelnewbies.org
Subject: ubuntu 11.10, systemtap and building my own kernel
Date: Tue, 10 Apr 2012 14:23:43 -0400 (EDT)	[thread overview]
Message-ID: <alpine.DEB.2.02.1204101422150.19514@oneiric> (raw)
In-Reply-To: <y0mwr5n8oi1.fsf@fche.csb>

On Tue, 10 Apr 2012, Frank Ch. Eigler wrote:

>
> rpjday wrote:
>
> > [...]
> > $ stap -e 'probe kernel.function("sys_open") {log("hello world") exit()}'
> > and got:
> > ===== start =====
> > [...]
> > cc1: all warnings being treated as errors
> > make[1]: *** [/tmp/stapadEYdA/stap_59bddd394f89d5f186da7e250db36434_876.o] Error 1
> > make: *** [_module_/tmp/stapadEYdA] Error 2
> > Pass 4: compilation failed.  Try again with another '--vp 0001' option.
>
> Please try systemtap 1.7, or build one out of
> <git://sourceware.org/git/systemtap.git>.  Newer kernels sometimes
> break systemtap assumptions; these are fixed pretty quickly in the
> source tree, and get rolled into later releases.
>
> Please report any further problems at <systemtap@sourceware.org>,
> including /usr/bin/stap-report output, if able.

  ok, but i'm curious ... i took a quick look at earlier kernels and i
don't see where "struct hlist_head" *ever* had a "next" member field
that is required by this version of systemtap (1.4).

  can you clarify which kernel version(s) would have worked with this
version of systemtap?  thanks.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

  parent reply	other threads:[~2012-04-10 18:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-10 12:56 ubuntu 11.10, systemtap and building my own kernel Robert P. J. Day
     [not found] ` <y0mwr5n8oi1.fsf@fche.csb>
2012-04-10 18:23   ` Robert P. J. Day [this message]
2012-04-10 18:31     ` Frank Ch. Eigler
2012-04-10 19:35   ` Robert P. J. Day
2012-04-10 20:17   ` Robert P. J. Day
2012-04-10 20:50     ` Frank Ch. Eigler
2012-04-10 21:08       ` Robert P. J. Day
2012-04-10 21:36         ` Frank Ch. Eigler

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=alpine.DEB.2.02.1204101422150.19514@oneiric \
    --to=rpjday@crashcourse.ca \
    --cc=kernelnewbies@lists.kernelnewbies.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 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 NNTP newsgroup(s).