public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* STAP depends on...
@ 2005-10-26 16:54 Kevin Stafford
  2005-10-27  7:56 ` Sebastien Decugis
  0 siblings, 1 reply; 3+ messages in thread
From: Kevin Stafford @ 2005-10-26 16:54 UTC (permalink / raw)
  To: Frank Ch. Eigler, William Cohen; +Cc: systemtap

During the last meeting there was discussion of posting some arch agnostic
documentation regarding the various dependencies of SystemTap. The 
following
is a sample list of configurations & utilities that SystemTap relies on.

To build SystemTap from source, your system requires:

Environment   
  - Linux kernel v2.6.9+ with configs:
     CONFIG_KPROBES=y
     CONFIG_MODULES=y
     CONFIG_MODULE_UNLOAD=y
     CONFIG_MODULE_SIG=y
     CONFIG_DEBUG_INFO=y

Development Tools
  - gawk
  - GNU make
  - gcc (-g debug enabled)
  - g++ (-g debug enabled) 
 
Standard Unix Binaries
  - (ln, egrep, mkdir, cd, rm, etc.)

Extended Package Dependencies
  - elfutils-libelf-devel v0.115+
  - elfutils-libs         v0.115+
  - elfutils-libelf       v0.115+
  - elfutils-devel        v0.115+
  - elfutils              v0.115+
    * Some of the extended packages required for SystemTap
      rely on (often many) other packages. It is recommended
      you install such utilities using an automatic package
      resolution tool (yum, yast, apt, etc.)

Before linking this off of the main website I would appreciate some 
feedback. Is
there anything you can think of missing from the list?

Tx.

-- 
Kevin Stafford
DES 2 | MS 2M3
Beaverton - OR
Linux Technology Center
IBM Systems & Technology
Phone: 1-503-578-3039
Email: kevinrs@us.ibm.com



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: STAP depends on...
  2005-10-26 16:54 STAP depends on Kevin Stafford
@ 2005-10-27  7:56 ` Sebastien Decugis
  2005-10-27 12:04   ` Frank Ch. Eigler
  0 siblings, 1 reply; 3+ messages in thread
From: Sebastien Decugis @ 2005-10-27  7:56 UTC (permalink / raw)
  To: Kevin Stafford; +Cc: Frank Ch. Eigler, William Cohen, systemtap

Quick addition:
for some kernels (I think 2.6.9 to 2.6.11) you have to do the following
hack as well:
=================================
--- linux-2.6.11.prev/kernel/kallsyms.c	2005-09-28 18:18:22.000000000
+0200
+++ linux-2.6.11/kernel/kallsyms.c	2005-10-17 13:29:34.000000000 +0200
@@ -145,6 +145,7 @@
 	}
 	return module_kallsyms_lookup_name(name);
 }
+EXPORT_SYMBOL(kallsyms_lookup_name);
 
 /* Lookup an address.  modname is set to NULL if it's in the kernel. */
 const char *kallsyms_lookup(unsigned long addr,
==================================

Best regards,
Seb.


On Wed, 2005-10-26 at 09:55 -0700, Kevin Stafford wrote:
> During the last meeting there was discussion of posting some arch agnostic
> documentation regarding the various dependencies of SystemTap. The 
> following
> is a sample list of configurations & utilities that SystemTap relies on.
> 
> To build SystemTap from source, your system requires:
> 
> Environment   
>   - Linux kernel v2.6.9+ with configs:
>      CONFIG_KPROBES=y
>      CONFIG_MODULES=y
>      CONFIG_MODULE_UNLOAD=y
>      CONFIG_MODULE_SIG=y
>      CONFIG_DEBUG_INFO=y
> 
> Development Tools
>   - gawk
>   - GNU make
>   - gcc (-g debug enabled)
>   - g++ (-g debug enabled) 
>  
> Standard Unix Binaries
>   - (ln, egrep, mkdir, cd, rm, etc.)
> 
> Extended Package Dependencies
>   - elfutils-libelf-devel v0.115+
>   - elfutils-libs         v0.115+
>   - elfutils-libelf       v0.115+
>   - elfutils-devel        v0.115+
>   - elfutils              v0.115+
>     * Some of the extended packages required for SystemTap
>       rely on (often many) other packages. It is recommended
>       you install such utilities using an automatic package
>       resolution tool (yum, yast, apt, etc.)
> 
> Before linking this off of the main website I would appreciate some 
> feedback. Is
> there anything you can think of missing from the list?
> 
> Tx.
> 
-- 
Sebastien Decugis
Bull S.A.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: STAP depends on...
  2005-10-27  7:56 ` Sebastien Decugis
@ 2005-10-27 12:04   ` Frank Ch. Eigler
  0 siblings, 0 replies; 3+ messages in thread
From: Frank Ch. Eigler @ 2005-10-27 12:04 UTC (permalink / raw)
  To: Sebastien Decugis; +Cc: systemtap

Hi -

> Quick addition:
> for some kernels (I think 2.6.9 to 2.6.11) you have to do the following
> hack as well:
> +EXPORT_SYMBOL(kallsyms_lookup_name);

The systemtap runtime should not require this this any more.

- FChE

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-10-27 12:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-26 16:54 STAP depends on Kevin Stafford
2005-10-27  7:56 ` Sebastien Decugis
2005-10-27 12:04   ` Frank Ch. Eigler

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).