ps per event) output from the probes?
The DTrace Toolkit is largely written with Solaris (now illumos) in mind, so
there is a chance that some scripts in there might not work.
--
Best regards,
Domagoj Stolfa
signature.asc
Description: PGP signature
Hello,
> Thats exactly what I did.
Could you please supply the full script please? It might give some clue as to
where the problem is.
--
Best regards,
Domagoj Stolfa
signature.asc
Description: PGP signature
Hello,
> My problem is: The probe fbt:kernel:breadn_flags:entry should fire in
> the case args[6] == 0, the case args[6] != 0 works but is not important
> to me.
What you want is:
fbt:kernel:breadn_flags:entry
/args[6] == 0/
{
...
}
Hope it helps!
--
Best regards,
Domag
Hi Michael:
Thanks for making the SCTP probes! The 1.6.3 bit probably comes from the
version of the API that D exposes, as seen here:
https://github.com/freebsd/freebsd/blob/master/cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c#L137.
Adding new things should probably be done in the
Hi Farhan:
You should call DTrace with -C, which is the C preprocessor:
---
#!/usr/sbin/dtrace -Cs
#include
#include
#include
#include
---
—
Domagoj
> On 5 Aug 2018, at 06:43, Farhan Khan wrote:
>
> Hi all,
>
> I am trying to run dtrace on some net80211
Hi Farhan:
I'm not sure what the question is, but by what I understood it sounds like a
predicate with probefunc should do?
i.e.:
prov:mod:func:name
/probefunc != "something_i_dont_care_about"/
{
something_here
}
—
Domagoj
> On 17 Aug 2018, at 00:49, Farhan Khan wrote:
>
> Hi all,
>
>
Depending on my ability to cycle home quickly enough -- I may or may not be
late.
—
Domagoj
> On 27 Sep 2018, at 14:57, George Neville-Neil wrote:
>
> Howdy,
>
> We'll be having our bi-weekly DTrace conference call today, 27 Sep 2018 at
> 12:00 EST. We'll be using Google Hangouts:
>
>
Hi:
I've implemented machine-readable output in the form of JSON, XML and
HTML into libdtrace, and by extension dtrace(1) using libxo. The goal is
not to replace linking to libdtrace in any way when one wishes to build
a custom application around it, but rather to supplement it (as it would
Hi Mateusz:
I believe that lltostr might be what you're looking for?
this->unit_number = args[1]->unit_number >= 0 ?
lltostr(args[1]->unit_number) : "";
--
Domagoj
On 8/30/2022 4:49 PM, Mateusz Piotrowski wrote:
Hello everyone,
Is it possible to convert an int to a string in
I'm not sure if it's documented anywhere in FreeBSD itself, but it is
documented here: https://illumos.org/books/dtrace/chp-actsub.html.
--
Domagoj
On 8/30/2022 5:01 PM, Mateusz Piotrowski wrote:
Hey Domagoj!
On 30. Aug 2022, at 17:58, Domagoj Stolfa
wrote:
this->unit_num
Hi:
I'm in the process of writing an article for the FreeBSD Journal
regarding DTrace and was hoping to get some submissions of what people
are working on in what would be called the "exciting new work" part of
the article. If you'd like to share your work with a quick summary and
link to
Hi:
I've done this for bhyve, specifically for virtio-net. I believe this is
the whole patch I needed:
+OBJS:=bhyve_provider.o ${OBJS}
+DTRACE_OBJS=${SRCS:C/\.c/.o/}
+
+beforelinking:
+ dtrace -G -s ${BHYVE_SRCDIR}/bhyve_provider.d ${DTRACE_OBJS}
+
however, it has been a while and I
12 matches
Mail list logo