fche changed the topic of #systemtap to: http://sourceware.org/systemtap; email systemtap@sourceware.org if answers here not timely, conversations may be logged
_whitelogger has joined #systemtap
scox has joined #systemtap
naveen has quit [Read error: Connection reset by peer]
naveen has joined #systemtap
marcolino has quit [Ping timeout: 260 seconds]
marcolino has joined #systemtap
scox has quit [Ping timeout: 245 seconds]
scox has joined #systemtap
hkshaw has joined #systemtap
hkshaw has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 255 seconds]
baotiao has joined #systemtap
scox has quit [Ping timeout: 260 seconds]
scox has joined #systemtap
_whitelogger has joined #systemtap
_whitelogger has joined #systemtap
MMlosh has joined #systemtap
gila has joined #systemtap
efiop has quit [Ping timeout: 255 seconds]
efiop has joined #systemtap
gila has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
gila has joined #systemtap
marcolino has quit [Ping timeout: 255 seconds]
baotiao has quit [Ping timeout: 260 seconds]
baotiao has joined #systemtap
orivej has joined #systemtap
gila has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
scox has quit [Ping timeout: 260 seconds]
scox has joined #systemtap
scox has quit [Ping timeout: 246 seconds]
scox has joined #systemtap
baotiao has quit [Ping timeout: 260 seconds]
baotiao has joined #systemtap
gila has joined #systemtap
gila has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
MMlosh has quit [Quit: Bye...]
RustJason has joined #systemtap
RustJason has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<fche> baotiao, dunno about 'assign', but you can say if (tid() != 808) next; to filter events only to tid=808
<baotiao> fche: thank you. I have got the answer, thank you all the way
<fche> righto
<baotiao> fche: I have meet a memory leak problem, I have try many tools. However, they don't solve my probelm. So I try to use systemtap, I have write a probe in every malloc return and the entry of free, to calculate the address that we have malloc and the address that we have freed. Then if we see there is a address that is alloc for a long time that doesn't free by any one, we think this address is leak. Do you think this is a good idea?
<fche> we've done stuff like that
<fche> at larger scale valgrind is probably better
<baotiao> fche: since this is a on-line product, so we can't use valgrind.
<baotiao> we have use valgrind to in our test environment, but it dosen't has memory leak.
<baotiao> can you show me your probe?
<fche> nothing in recent recollection, I'm afraid
<fche> ISTR finding it difficult to track every kind of memory allocation/free at small granularity (vs. mmap)
<fche> and the number of objects that needed concurrent tracking could be quite large (thus occupy large amounts of stap/kernel memory)
<baotiao> so you think use systemtap the trace the memory leak problem is not a good idea? systemtap itself will consume lots of memory?
<fche> it'd be in kernel-space, so not directly comparable
<fche> and it wouldn't leak, just be a one-time allocation
<fche> so yeah, worth a shot
pwithnall__ has joined #systemtap
baotiao has quit [Quit: baotiao]
marcolino has joined #systemtap
baotiao has joined #systemtap
orivej has quit [Ping timeout: 255 seconds]
orivej has joined #systemtap
prefork has quit [*.net *.split]
lindi- has quit [*.net *.split]
lindi- has joined #systemtap
prefork has joined #systemtap
bendlas has quit [Ping timeout: 240 seconds]
bendlas has joined #systemtap
baotiao has quit [Quit: baotiao]
marcolino has quit [Ping timeout: 240 seconds]
marcolino has joined #systemtap
pwithnall_____ has joined #systemtap
pwithnall__ has quit [Quit: pwithnall__]
baotiao has joined #systemtap
baotiao has quit [Ping timeout: 260 seconds]
efiop has quit [Quit: Leaving]