similar to: [DTrace] using C preprocessor in dtrace scripts

Displaying 20 results from an estimated 100 matches similar to: "[DTrace] using C preprocessor in dtrace scripts"

2007 Jan 10
13
[DTrace] how to get socket read size
Hi i''m trying to write my first dtrace script apparently i bit off a bit more than i can chew, i want to track io over sockets, i found your socketsize.d that gave me how to track writes, but i''m at a loss how to track reads, frankly i don''t see how your write tracker works because it uses a probe in a function that only takes two arguments but you grab size of write
2006 Jun 29
2
tracemem() not exactly what I had in mind
I was trying to use tracemem to look at mblk contents. First, I tried to use mblk->b_wptr - mblk->b_rptr as the size, and was told that it had to be a constant. Foo. (RFE #1). Then, I tried to use 8 as the size, and kept getting decimal numbers printed. Stumbled on #pragma D option rawbytes=true (is the =true necessary, btw?) and that didn''t help. Then, in desperation, I
2002 Aug 27
1
ts basic question
Dear R collegues, I'd like to use the time-series facilities of R and I'm not sure how to set my dataset properly. I have monthly data, so the description could be: ts(data, start=c(1951,1), frequency= 12) However, the data is a matrix of years (rows) and months (columns), as follows: > s1 <- read.table("stdata.txt", header=TRUE) > s1[1:3, ] YEAR JAN FEB MAR APR
2009 Apr 03
2
Problem with spacing
I''m having the devil''s time trying to get things laid out correctly. I''ve attached a screenshot so that you can get an idea of what I''m seeing. I''ve got a very unattractive space under the two combo boxes, and another one under the buttons. I don''t understand how to reduce this. I know it''s impossible to guess what idiocy I might have
2007 Sep 28
2
[LLVMdev] Vector troubles
Hola LLVMers, I'm working on engaging SSE via the LLVM vector ops on x86. I had some questions a while back that you all helped out on, but I'm seeing similar issues and was hoping you'd have some ideas. Below is the dump of the LLVM IR of a program which is designed to take a vector stored in a float*, build an LLVM vector from it, copy it to another vector, and then take it
2012 Jul 24
2
Broadcom NetXtreme bcm5720 in the 9.1 beta
Team I have a Dell PowerEdge R720xd, with the Broadcom NetXtreme bcm5720. I found the following thread: http://forums.freebsd.org/showthread.php?t=31769 I find I am unable to use the NIC's (there are 4 on the server). When we put a cable into it we get a "watchdog timeout -- resetting" error, and the machine will pause for 5 or so seconds. IP may or may not come up randomly.
2008 Oct 09
11
Crossbow Code Review Phase III ready
(networking-discuss Bcc''ed) Good morning, The Crossbow team would like to invite you to participate in the project''s third and last phase of code review. The third phase of the review starts today, and will last for two weeks. It covers the following parts of the code: VLANs Link Aggregations Xen mac_datapath_setup All drivers
2007 Jun 29
0
[networking-discuss] Re: DTraceNetwork Providers, take 2
> Brendan Gregg - Sun Microsystems wrote: > > So, apart from Solaris routers, DNS servers and IPsec > gateways, what > > other servers would be under heavy load and be using > something other than TCP? > > Finance houses, running Tibco Rendevous. Further to this, as someone who works in this area, I can say that many stock exchange data feeds are provided over UDP -
2007 May 24
0
Re: asterisk-users Digest, Vol 34, Issue 114
I am running asterisk 1.2.12.1 JK, Message: 26 Date: Thu, 24 May 2007 21:40:31 -0700 From: JK <jk@bingoconsulting.com> Subject: [asterisk-users] Urgent: DTMF does not work with rtpmap:101 telephone-event/8000 To: asterisk-users@lists.digium.com Message-ID: <465668BF.6080800@bingoconsulting.com> Content-Type: text/plain; charset="iso-8859-1" Hello asterisk-users list. I
2006 Feb 17
3
CPU time stats
hi, I am trying to find out the avg cpu time spent in each of my user methods (exclusive of other methods invoked by a method). Hence the following snippet failed miserably: ----------------------- pid$target:a.out::entry { time[probefunc] = timestamp;} pid$target:a.out::return { @spent[probefunc] = avg(timestamp - time[probefunc]);} END { printa(@spent);}
2008 Jul 14
15
CPC provider - input welcome
Tracing Fans, I know it''s been a long time in coming but the CPU Performance Counter (CPC) provider is almost here! The code is currently in for review and a proposed architecture document is attached here for review. Any and all feedback/questions on the proposed implementation is welcome. Thanks. Jon. -------------- next part -------------- An embedded and charset-unspecified text
2007 May 24
3
Urgent: DTMF does not work with rtpmap:101 telephone-event/8000
Hello asterisk-users list. I have been scratching my head for almost a week. We are trying to set a service with a company (ip=XXX.XXX.XXX.XXX) and dtmf is not working. In our scenario the SP is sending call to our ser server and ser is forwarding the call to asterisk. In the asterisk debug I can see the DTMF keys are coming but ivr does not recognice those keys at all. I can see this in the
2005 Dec 21
0
ustack() issues && correlating SIGSEGV activ ity?
Hi Ryan, > Does anyone happen to know why the ustack() doesn''t show lex, > yak, main > and _start? A quick look with the source browser seems to indicate that _rt_boot is code executed very early in the lifetime of your process by ld.so.1. What seems to be happening is that ld.so.1 has allocated some memory before DTrace got control of your process - long before main() was
2006 May 08
13
monitoring tcp writes
i''m using the following probe to calculate how many bytes are being written by tcp write calls, by process and total: fbt:ip:tcp_output:entry { this->tcpout_size = msgdsize(args[1]); @tcpout_size[execname] = sum(this->tcpout_size); @tcpout_size["TOTAL_TCP_OUT"] = sum(this->tcpout_size); } I run this probe for N seconds. I suppose that if i get the
2005 Sep 15
10
Can I use printa() for printing multiple agg regations?
Hi Bryan, > Does that sit well with everyone? Seems fine to me. Just revisiting one of Dragan''s points, though (sorry if I missed the answer) - is there a reason for making this global (via a #pragma) rather than, say, simply providing two functions which print in the different orders? e.g. printa() for sort by sample, printak() for sort by key. My reason for wanting to do both in
2006 Sep 14
3
Anyone using fuse and/or sshfs under Centos 4.4?
Hi A search of google failed to show any prebuilt rpms for sshfs and fuse. I do see that fuse support is in 2.6.14 kernel which isn't a whole lot of help. Before I dive headlong into this has anyone successfully built fuse/sshfs against Centos 4.4. If so would you share your experience? Thanks Daveh
2001 Apr 05
0
HP-UX 9 problems (hangs on logout; tty isn't sane)
I'm trying to get OpenSSH 2.5.2p2 to run on HP-UX 9.05. I've had some decent results, but I'm also seeing some problems. I'm using the EGD (I configured with --with-prngd-socket=/tmp/entropy). * Compiling required some changes, which I've attached. Two of the changes are "hackish", and not at all suited to inclusion in the source tree, but they might point
2003 Apr 22
1
installworld (touch: not found)
Hi All, I just the "touch: not found" problem that seems to occur occaisonally when installing world. -------------------------------------------------------------- >>> Installing everything.. -------------------------------------------------------------- cd /usr/src; make -f Makefile.inc1 install ===> share/info ===> include creating osreldate.h from newvers.sh setvar
2000 Oct 03
1
Various platforms
Hello, I've been compiling OpenSSH up on just about every platform that I can get my hands on. I am not certain of the best way of building my 'fixes' into the source tree, not least of all since I didn't worry about #ifdef's or the configure scripts. However hopefully this will be of use to you. This is all for openssh-2.2.0p1 compiled alongside openssl-0.9.5a and
2016 Jan 11
4
Some llvm questions (for tgsi backend)
Hi, After a few distractions I'm back to work on the llvm tgsi backend. I've added clang integration and I can now compile a simple opencl program to something which sort of looks like tgsi. You can find my latest work on this here: http://cgit.freedesktop.org/~jwrdegoede/llvm http://cgit.freedesktop.org/~jwrdegoede/clang (the latter may still need to sync) I've a little test