Re: [patch 1/4] Linux Kernel Markers - Architecture Independent Code

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Frank Ch. Eigler
Date: Monday, October 15, 2007 - 12:41 pm

Hi -

I wrote:


Our team is farther along adapting to this change against 2.6.23-mm1,
and we have run into a complication.  It's more of a distribution
issue.

We would prefer to retain systemtap's capability to build
instrumentation for a kernel other than the currently running one.
Such instrumentation can be then copied and run on a distinct machine.
This has meant relying on development data: make install_headers +
Makefiles (as packaged by Fedora/RHEL), and to a lesser extent
separated debugging information.

Markers are attractive partly because they don't require debugging
information, so the data needs to be found in an executable image.
But we prefer not to force the executable image itself to be
installed, for example because /boot is relatively small.  So we would
prefer something in between: something small that we can put into the
development package.

If there exists sympathy to this problem, Roland McGrath supposes we
could implement a standardized solution, a file like Module.symvers,
containing the marker names & format strings extracted at build time.
Any opinions?


PS. I wonder why the marker name/format strings are put into a
__markers_strings object section at all, considering that the only
place where that is used again appears to be this code in
kernel/module.c:

        markersstringsindex = find_sec(hdr, sechdrs, secstrings,
                                        "__markers_strings");

and the "markersstringsindex" variable is never used.


- FChE
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 1/4] Linux Kernel Markers - Architecture Independen ..., Mathieu Desnoyers, (Tue Sep 18, 2:13 pm)
Re: [patch 1/4] Linux Kernel Markers - Architecture Indepe ..., Mathieu Desnoyers, (Wed Sep 19, 4:37 am)
Re: [patch 1/4] Linux Kernel Markers - Architecture Indepe ..., Mathieu Desnoyers, (Wed Sep 19, 11:46 am)
Re: [patch 1/4] Linux Kernel Markers - Architecture Indepe ..., Mathieu Desnoyers, (Wed Sep 19, 11:50 am)
Re: [patch 1/4] Linux Kernel Markers - Architecture Indepe ..., Mathieu Desnoyers, (Fri Sep 21, 5:58 am)
Re: [patch 1/4] Linux Kernel Markers - Architecture Indepe ..., Christoph Hellwig, (Fri Sep 21, 6:07 am)
Re: [patch 1/4] Linux Kernel Markers - Architecture Indepe ..., Mathieu Desnoyers, (Fri Sep 21, 6:38 am)
Re: [patch 1/4] Linux Kernel Markers - Architecture Indepe ..., Mathieu Desnoyers, (Fri Sep 21, 6:45 am)
Re: [patch 1/4] Linux Kernel Markers - Architecture Indepe ..., Frank Ch. Eigler, (Mon Oct 15, 12:41 pm)
Re: [patch 1/4] Linux Kernel Markers - Architecture Indepe ..., Mathieu Desnoyers, (Mon Oct 15, 4:12 pm)
Re: [patch 1/4] Linux Kernel Markers - Architecture Indepe ..., Mathieu Desnoyers, (Thu Oct 25, 12:17 pm)
[PATCH] markers: modpost, Roland McGrath, (Wed Oct 31, 6:06 pm)
Re: [PATCH] markers: modpost, Mathieu Desnoyers, (Wed Oct 31, 7:46 pm)
Re: [PATCH] markers: modpost, Roland McGrath, (Thu Nov 1, 2:37 am)
Re: [PATCH] markers: modpost, Mathieu Desnoyers, (Thu Nov 1, 4:24 am)
Re: [PATCH] markers: modpost, David Smith, (Thu Nov 8, 12:31 pm)
Re: [PATCH] markers: modpost, Mathieu Desnoyers, (Thu Nov 8, 12:36 pm)
Re: [PATCH] markers: modpost, David Smith, (Thu Nov 8, 12:45 pm)
Re: [PATCH] markers: modpost, David Smith, (Fri Nov 9, 9:36 am)
Re: [PATCH] markers: modpost, Mathieu Desnoyers, (Sun Nov 11, 4:24 pm)