Displaying 3 results from an estimated 3 matches for "strjoin".
2005 Sep 14
4
How to get full path name of execname?
Hi,
Is there a way to print out full path name of execname when the following
probe is touched?
proc:genunix:exec_common:exec-success
Thanks.
************************************************
* C P Lin, Common Technology Project Lead. *
* Sun Microsystems Inc. *
* E-Mail: c.lin at sun.com *
* Address: 4150 Network Circle,
2007 Jul 11
5
Error trying to count return points in functions.
...n for a given function to return, I have bumped
into an error I don''t understand.
The first take on what I was trying to do was:
# dtrace -n ''fbt:ip:ip_input:return{@home[arg0] = count();}''
and all was well. The next step was:
# dtrace -n ''fbt:ip::return{@home[strjoin(probefunc,(string)arg0)] =
count();}''
but the output was not quite so friendly:
dtrace: description ''fbt:ip::return'' matched 1653 probes
dtrace: error on enabled probe ID 1574 (ID 23867:
fbt:ip:ip_loopback_src_or_dst:return): invalid address (0x30) in action
#2 at DIF...
2013 Oct 15
0
How to unstick ZFS resilver?
...d.\n");
}
fbt::dastrategy:entry
{
start_time[(struct buf *)arg0] = timestamp;
}
fbt::dadone:entry
/(this->bp = (struct buf *)args[1]->ccb_h.periph_priv.entries[1].ptr) && start_time[this->bp] && (timestamp - start_time[this->bp]) > TOO_SLOW/
{
@[strjoin("da", lltostr(args[0]->unit_number))] = count();
start_time[this->bp] = 0;
}
-GAWollman