This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi - deepak.venkatesh wrote: > - Use Systemtap for user space and kernel space tracing. > - This means I must get traces/markers added in our user and kernel > code. Not quite: you only need tracepoints/markers added to the target code if you cannot get hold of dwarf debuginfo. Plus kernel & userspace debuginfo are independent requirements. > My setup is : > ubuntu 10.10 with kernel 2.6.35-22-generic i686, which is not > utrace enabled i.e., CONFIG_UTRACE is not available. > > My queries are as follows : > > 1. Is it possible to use Systemtap without debuginfo ? e.g. Only > with Kernel Markers support and User space traces enabled. If yes, can > you direct me to related help page ? This is briefly described in the stap/stapprobes man pages. The gist of it is that the following probe point types do or do not require debuginfo. Your particular script's needs are determined by which probe point types you use in it. NO DWARF YES DWARF kprobe.function(...) kernel.statement(), module(...).function(...) kernel.trace(...) process(...).mark(...) process(...).function(...) etc. timer.* perf.* procfs.* begin/end/ I'll add a more compact table like this to our man pages. > 2. As I need utrace for user space tracing, how can I build a kernel > that supports utrace and also provides debuginfo.? > 3. I am not able to find debuginfo package for kernel > 2.6.35-22-generic i686. Please provide information on kernels that is > utrace enabled and also provide debuginfo. Just yesterday we came across a ubuntu PPA whose maintainer has kindly assembled just this: <http://sourceware.org/ml/systemtap/2011-q1/msg00276.html> You may wish to investigate and replicate this work so you're not dependent on Mr. Peijnik. Please be aware that the ubuntu kernel configuration is different enough from the ones we usually test on that some new problems may be seen. We will endavour to fix those problems. - FChE
Attachment:
pgp00000.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |