* about systemtap cost
@ 2015-11-04 8:40 Gareth
2015-11-04 14:05 ` Frank Ch. Eigler
0 siblings, 1 reply; 2+ messages in thread
From: Gareth @ 2015-11-04 8:40 UTC (permalink / raw)
To: systemtap
Which case would cost more in runtime?
1. run "stap xyz.stp" which contains:
probe X {
# do sth
}
probe Y {
# do sth
}
probe Z {
# do sth
}
2. run "stap x.stap" which contains:
probe X {
# do sth
}
then, run "stap y.stap" which contains:
probe Y {
# do sth
}
then, run "stap z.stap" which contains:
probe Z {
# do sth
}
--
Gareth
Cloud Computing, OpenStack, Distributed Storage, Fitness, Basketball
OpenStack contributor, kun_huang@freenode
My promise: if you find any spelling or grammar mistakes in my email
from Mar 1 2013, notify me
and I'll donate $1 or ¥1 to an open organization you specify.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: about systemtap cost
2015-11-04 8:40 about systemtap cost Gareth
@ 2015-11-04 14:05 ` Frank Ch. Eigler
0 siblings, 0 replies; 2+ messages in thread
From: Frank Ch. Eigler @ 2015-11-04 14:05 UTC (permalink / raw)
To: Gareth; +Cc: systemtap
academicgareth wrote:
> Which case would cost more in runtime?
> [... one script with three probes vs. three scripts with one probe each ...]
There should be no difference at a first-order level of analysis, so
do whatever makes more sense from a script life-cycle or data-sharing
or other such abstract concern.
(Second-order performance effects like cache locality probably slightly
favour putting the probes together into one script.)
- FChE
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-11-04 14:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-04 8:40 about systemtap cost Gareth
2015-11-04 14:05 ` 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).