Displaying 20 results from an estimated 1000 matches similar to: "USDT probes"
2018 Aug 23
2
[lld] avoid emitting PLT entries for ifuncs
In the context of support not only IFunc but DTrace, what kind of features
do you want to add to lld, if you have a chance to implement it in the
linker instead of a post-processing tool? I wonder if we can solve both of
your problems.
On Thu, Aug 23, 2018 at 1:33 AM Mark Johnston <markj at freebsd.org> wrote:
> On Wed, Aug 22, 2018 at 10:11:00AM -0400, Ed Maste wrote:
> > On 22
2008 Jan 29
12
listing USDT probes, if any
How do I query an application to see if it supports any USDT probe points?
2006 Oct 31
0
6370454 dtrace should support USDT probes in static functions
Author: ahl
Repository: /hg/zfs-crypto/gate
Revision: b1ab97f77b0ad2a4fe2a43d9c5aac7259840bb90
Log message:
6370454 dtrace should support USDT probes in static functions
Files:
update: usr/src/lib/libdtrace/common/dt_dof.c
update: usr/src/lib/libdtrace/common/dt_link.c
update: usr/src/lib/libdtrace/common/dt_provider.c
update: usr/src/lib/libdtrace/common/dt_provider.h
2006 Sep 21
2
Probe description does not match any probes
[Perhaps someone could rename this list to dtrace-matt-problems-discuss?]
If I run this script against my binary (which contains a USDT probe called ''concurrentq-latency''):
:::
/ probename == "concurrentq-latency" /
{
printf("[%s]:[%s]:[%s]\n", probeprov, probefunc, probename);
}
I get this output:
dtrace: script ''testq.d'' matched 46056
2008 Sep 16
3
USDT probes in both static library and application
Hi All,
I''ve got a problem when I have USDT probes in a static library and in
the application code outside of the library.
I build the static library containing some USDT probes, glomming
everything together (ld -r) before creating the .a file to preserve the
probe symbols. This all works fine.
I build an application which also has some USDT probes.
When I build the application which
2006 Oct 31
0
6395902 use of USDT probes can cause plockstat and other scripts to fail
Author: ahl
Repository: /hg/zfs-crypto/gate
Revision: 72ce7e116da4db6c063a5c3c3f1bec23ce3ca69a
Log message:
6395902 use of USDT probes can cause plockstat and other scripts to fail
Files:
update: usr/src/lib/libdtrace/common/dt_pid.c
2012 Jul 03
1
buildworld fails with clang
Hello,
9-STABLE fails to build with clang and *without* "NO_WERROR=" and
"WERROR=" in /etc/make.conf. It used to work not long before :
FreeBSD zozo.afpicl.lan 9.0-STABLE FreeBSD 9.0-STABLE #0 r237222M: Mon
Jun 18 10:18:54 CEST 2012
root@zozo.afpicl.lan:/usr/obj/usr/src/sys/CORE amd64
# svnversion
238067M
# make NOCLEAN=yes NO_CLEAN=yes buildworld
[...]
===> cddl/lib
2007 Oct 29
2
autoconf test for building dtrace USDT probes?
X.Org has adopted GNU autoconf as its build configuration mechanism,
so when I integrated the dtrace probes, I checked to see if they
should be built using this test, checking for the existence of a
program named "dtrace" in the path:
dnl Check for dtrace program (needed to build Xserver dtrace probes)
AC_ARG_WITH(dtrace, AS_HELP_STRING([--with-dtrace=PATH],
[Enable dtrace
2007 Sep 01
1
Hekp dtrace -l is bleeding Unstable implementation details all over my USDT probe namespace :(
Hi,
As I''ve discussed before whenever we add USDT probes to a C++ function
and call dtrace -l we get the mangled C++ name for the dtrace function,
being listed :(
Now the point of USDT probes is to abstract a higher level semantic
construct for users to make use of. Surely it is not meant to be listing
Unstable Interfaces (implementation details), such as the containing C++
2007 Mar 09
4
USDT probe issues in C++
Hi people,
When working with some usdt C++ probes we have come across a few issues.
Controlling USDT Function name:
Putting in usdt probes into C++ code gives you the mangled enclosing
function name for the probes Function name. Working around this can be a
pain. You need to wrap your usdt probes in extern C functions and call
these. Could we have an option to control the Function name for
2006 Aug 07
2
SDT/USDT policies?
Hello,
If I release a new kernel module, do I need to release a SDT provider with it? Just like what "mdb" does - a mdb module together with the associated kernel module. Is it a "MUST" or a "OPTION"?
Also what''s the requirement of USDT and user application? Is it encouraged or not to have many probes inside the code? Can I define my own
2006 Oct 31
0
6256581 System got a hang or a panic with dtrace+kmdb
Author: bmc
Repository: /hg/zfs-crypto/gate
Revision: 213bfe03af413cdf71c523fb076aaa65a6306a7e
Log message:
6256581 System got a hang or a panic with dtrace+kmdb
6264573 unanchored dtrace_getpcstack is rather imprecise toward function end
6289517 dtrace doesn''t like fd_intr anymore
6291378 dtrace helpers can interfere with the use of kmdb
6295554 dtrace doesn''t report
2009 Sep 09
4
usdt probes vs pid$target
I added a couple of static probes to Firefox to measure actual work
done. I could have used a pid$target probe with a function name but
work is done within an if statement, which is where I placed the
static probes.
I''m wondering about my use, though. Is the following significantly
more efficient than pid$target::FunName:entry and return?
I heard somewhere that $target does not
2008 Apr 14
1
Maximum number of user space probes
Is there a limit on the number of user space probes that can be present at any time?
I have compiled very many probes into our product, and can''t see all of them in "dtrace -l". it looks very much like I have all of them up to some point at which I''ve hit some hard limit.
I can see a total of 8588 probes, I think 2 processes have all of the ones I expect (one has 1752
2009 Nov 11
1
Question about -xlaxyload option to dtrace -G
Hello,
I am trying to get documentation how how this lazyloading happens when you are dealing with dtrace probes being added to user applications. In particular if it somehow avoids the overhead of registering dtrace probes when they aren''t needed, how does it know if they are needed, etc...
thanks,
Robert
2007 Nov 16
2
USDT probes from PostgreSQL
while trying to use the USDT made available to us in Postgresql database I have problems enabling them.
On my database server I ran 1024+ PG processes (1024 clients). The server is a 8 core T2000 @1000MHz. 32GB. 7 storage arrays. Solaris 10 Update 4. Home compiled PG 8.3 beta 1 (optimized binary for T1 chip) with DTrace probes enabled.
When running without enabling the probes I have approx 25%
2007 Feb 14
10
Asynchronous signal handling in fasttrap provider
Hi,
I was going through the implementation of the fasttrap provider. I found
that when displaced execution happens (ie., when the instruction traced is
being executed out of the scratch space) if an asynchrnous signal comes we
need to defer the delivery.
Can somebody explain why this is necessary and how is it implemented?
Thanks in advance
Saravanan S
-------------- next part --------------
An
2007 May 03
4
Finding instrumented code
Hi all,
So I just took Sun''s dtrace class this week and one thing that piqued my
interest was the instrumenting of a process''s instructions and how to
find the original instructions. (I''m looking around at resources for
learning SPARC assembly to help me when using mdb for analysis, though I
vaguely remember pieces from a grad school compiler theory class about
10 years
2008 Jan 17
1
Under DTrace USDT and PID, kernel''s microstat accounting doesn''t work in this situation, doesn''t it?
Does anyone has any ideas about this problem?
2008/1/15, ?? TaoJie <eulertao at gmail.com>:
>
> Hi all:
>
> I''m working on revealing system performance now.
> My testing program is an infinite loop. Inside the loop, it will do some
> mathematical opertaions and call function callee(), then go to the next
> loop.
> I install a alarm(30) in the program. It
2006 Aug 28
1
Problem linking USDT C++ application
I have inserted some probes in my application, and it works great in the "debug build" I have been using. So I wanted to look at the "overhead" introduced by inactive dtrace probes in my application. I am using the Sun Studio 11 compiler, so I added the following options:
-xO5 -g0 -xbuiltin
But this breaks the linking of my application.
Undefined first