fche changed the topic of #systemtap to: http://sourceware.org/systemtap; email systemtap@sourceware.org if answers here not timely, conversations may be logged
wcohen has joined #systemtap
hpt has joined #systemtap
hkshaw has joined #systemtap
higgins has quit [Quit: Leaving]
higgins has joined #systemtap
ravi has joined #systemtap
_whitelogger has joined #systemtap
zodbot has quit [Remote host closed the connection]
zodbot has joined #systemtap
sonal has joined #systemtap
groleo has joined #systemtap
nkambo has joined #systemtap
nkambo has quit [Read error: Connection reset by peer]
mjw has joined #systemtap
nkambo has joined #systemtap
<sonal>
hi, i want to use string.h functions in stap script, how to use it using guru mode
bendlas has quit [Remote host closed the connection]
bendlas has joined #systemtap
magrawal has joined #systemtap
hpt has quit [Ping timeout: 240 seconds]
sonal has quit [Ping timeout: 256 seconds]
sonal has joined #systemtap
scox_ has quit [Ping timeout: 264 seconds]
<sonal>
can we club system tap with Python?
sanoj has joined #systemtap
<sanoj>
I am trying to write an embedded C routine to iterate through certain structures in my user space code. The structures need header file like sys/types.h . The issue I am facing is user space headers are conflicting with kernel headers.
<sanoj>
How do I selove this. eg: /usr/include/stdint.h:40:19: error: conflicting types for ‘int64_t’ . include/linux/types.h:113:17: note: previous declaration of ‘int64_t’ was here
magrawal has quit [Quit: Leaving]
sanoj has quit [Ping timeout: 240 seconds]
sanoj has joined #systemtap
sanoj has quit [Ping timeout: 240 seconds]
<fche>
sonal, userspace string.h are not appropriate for use from with kernelspace modules; might have more luck with kernel string libraries
<fche>
sanoj, how are you getting at that sys/types.h file? have you tried @cast() to generate debuginfo from it, and using script language to iterate, vs. embedded-c with those problematic #include's ?
<fche>
sanoj, you might also find stap --runtime=dyninst worth a try - that runs pure userspace, so no kernel header conflicts are in play
<sonal>
fche, can we club system tap with python files?
mbenitez has joined #systemtap
mbenitez has joined #systemtap
mbenitez has quit [Changing host]
hpt has joined #systemtap
wcohen has quit [Ping timeout: 256 seconds]
sonal has quit [Ping timeout: 256 seconds]
sonal has joined #systemtap
scox_ has joined #systemtap
nkambo_ has joined #systemtap
nkambo has quit [Ping timeout: 240 seconds]
drsmith_away is now known as drsmith
hpt has quit [Ping timeout: 246 seconds]
ravi has quit [Remote host closed the connection]
wcohen has joined #systemtap
nkambo__ has joined #systemtap
brolley has joined #systemtap
dmalcolm has quit [Ping timeout: 240 seconds]
nkambo_ has quit [Ping timeout: 240 seconds]
dmalcolm has joined #systemtap
dmalcolm has quit [Ping timeout: 246 seconds]
dmalcolm has joined #systemtap
nkambo__ has quit [Read error: Connection reset by peer]
sonal has quit [Ping timeout: 268 seconds]
groleo has quit [Ping timeout: 240 seconds]
sonal has joined #systemtap
sanoj has joined #systemtap
sanoj has quit [Quit: Leaving]
sanoj has joined #systemtap
<sanoj>
fche, I was using the embedded C to include headers from of my project and examine its structures, Using --runtime=dyninst did help alleviate the collision with headers in kernel name space.
<sanoj>
however ther are more collision probably between some of the internal variables in generated code and the ones from my project. For instance (list_head , THIS had defintion in both places). So Iam still getting redefinition errors. Is there anyway to isolate the name space or have the generated code compiled into different compilation units and link them