| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
| |
model. This was causing many of the tests to fail on amd64 since USDT
support for 32-bit programs is currently non-functional.
MFC after: 1 week
Notes:
svn path=/head/; revision=288413
|
|
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=286172
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Rather than assuming that a process is listening on 127.0.0.1:22, use
nc(1) to find an available port and bind to it for the duration of the
test.
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
Notes:
svn path=/head/; revision=286171
|
|
|
|
|
|
|
|
|
|
| |
update expected test output to reflect differences in default TTL and
payload length.
MFC after: 1 week
Notes:
svn path=/head/; revision=280837
|
|
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=280836
|
|
|
|
|
|
|
|
|
| |
libdtrace has a chance to capture the traced data.
MFC after: 1 week
Notes:
svn path=/head/; revision=280773
|
|
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=279417
|
|
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=279416
|
|
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=279415
|
|
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=279414
|
|
|
|
|
|
|
|
|
|
| |
of -1 for the bogus ioctl command so that dmesg doesn't get spammed with
sign extension warnings when the test program runs.
MFC after: 1 week
Notes:
svn path=/head/; revision=278738
|
|
|
|
|
|
|
|
|
|
|
| |
the test harness. This is a problem in many of the *.ksh test scripts as
well, but those scripts are executed using a shell whose path is specified
in dtest.pl, so there's no need to modify them.
MFC after: 1 week
Notes:
svn path=/head/; revision=278139
|
|
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=278012
|
|
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=278011
|
|
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=278009
|
|
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=278008
|
|
|
|
|
|
|
|
|
|
|
| |
* Avoid hard-coding program paths.
* Use -x when searching for oneself in ps(1) output.
* Use the correct keyword (egid instead of pgid) in tst.egid.ksh.
MFC after: 1 week
Notes:
svn path=/head/; revision=278007
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Avoid hard-coding program paths, except when it's necessary in order to
override the use of a shell builtin.
* Translate struct proc through psinfo_t so that we can access process
arguments via the pr_psargs field of psinfo_t.
* Replace uses of pstop and prun with kill(1).
MFC after: 1 week
Notes:
svn path=/head/; revision=278006
|
|
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=277916
|
|
|
|
|
|
|
|
|
|
|
| |
which causes dtrace(1) to run the C preprocessor on input scripts before
executing them. Suppress some warnings emitted by the preprocessor which are
confusing the DTrace lexer tests.
MFC after: 1 week
Notes:
svn path=/head/; revision=277913
|
|
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=277912
|
|
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=277911
|
|
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=277910
|
|
|
|
|
|
|
|
|
|
| |
containing the test script rather than the current directory. This is needed
in order to run the DTrace tests under Kyua.
MFC after: 1 week
Notes:
svn path=/head/; revision=277909
|
|
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=273115
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
modifications to libproc to support fetching the CTF info for a given file.
With this change, dtrace(1) is able to resolve type info for function and
USDT probe arguments, and function return values. In particular, the args[n]
syntax should now work for referencing arguments of userland probes,
provided that the requisite CTF info is available.
The uctf tests pass if the test programs are compiled with CTF info. The
current infrastructure around the DTrace test suite doesn't support this
yet.
Differential Revision: https://reviews.freebsd.org/D891
MFC after: 1 month
Relnotes: yes
Sponsored by: EMC / Isilon Storage Division
Notes:
svn path=/head/; revision=272488
|
|
|
|
|
|
|
|
|
|
|
|
| |
It seems that if a pragma is used to define a weak alias for a local
function, the pragma must appear after the function is defined.
PR: 193056
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
Notes:
svn path=/head/; revision=271699
|
|
|
|
|
|
|
|
|
|
|
| |
seems that they would only pass by chance on illumos; on FreeBSD, they still
fail since userland CTF is not yet supported.
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
Notes:
svn path=/head/; revision=271698
|
|
|
|
|
|
|
|
|
| |
PR: 193110
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
Notes:
svn path=/head/; revision=271693
|
|
|
|
|
|
|
|
|
|
|
| |
4471 DTrace count() with histogram
4472 DTrace full width distribution histograms
4473 DTrace frequency trails
MFC after: 2 weeks
Notes:
svn path=/head/; revision=267942
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
4474 DTrace Userland CTF Support
4475 DTrace userland Keyword
4476 DTrace tests should be better citizens
4479 pid provider types
4480 dof emulation is missing checks
MFC after: 2 weeks
Notes:
svn path=/head/; revision=267941
|
|
|
|
|
|
|
|
|
| |
4477 DTrace should speak JSON
MFC after: 2 weeks
Notes:
svn path=/head/; revision=267937
|
|
|
|
|
|
|
|
|
|
|
| |
2915 DTrace in a zone should see "cpu", "curpsinfo", et al
2916 DTrace in a zone should be able to access fds[]
2917 DTrace in a zone should have limited provider access
MFC after: 2 weeks
Notes:
svn path=/head/; revision=267929
|
|
|
|
| |
Notes:
svn path=/head/; revision=267925
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
commit 78e24ab6803bbe11ba37642624e1498ede5b239d
Author: Bryan Cantrill <bryan@joyent.com>
Date: Thu Oct 31 01:20:54 2013
OS-1688 DTrace count() with histogram
OS-2360 DTrace full width distribution histograms
OS-2361 DTrace frequency trails
MFC after: 2 weeks
Notes:
svn path=/head/; revision=267898
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Merge from r258379 missed the tests.
4248 dtrace(1M) should never create DOF with empty probes section
4249 Only probes from the first DTrace object file will be included
Illumos Revision: 54a20ab41aadcb81c53e72fc65886e964e9add59
MFC after: 5 days
Notes:
svn path=/head/; revision=267513
|
|
|
|
|
|
|
|
|
| |
Since "BEGIN" is not the name of a module, the test would just hang.
MFC after: 3 days
Notes:
svn path=/head/; revision=266454
|
|
|
|
|
|
|
| |
printf tests pass.
Notes:
svn path=/head/; revision=264487
|
|
|
|
|
|
|
|
|
|
| |
illumos/illumos-gate@d339a29bb4765c4b6883a935cf69b669cd05bca0
PR: 187027
MFC after: 1 week
Notes:
svn path=/head/; revision=262596
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
illumos/illumos-gate@6fb4854bed54ce82bd8610896b64ddebcd4af706
This fixes the tst.resize1.d and tst.resize2.d DTrace tests, which have
been failing since r261122 since they were causing dtrace(1) to attempt to
allocate and use large amounts of memory, and get killed by the OOM killer
as a result.
MFC after: 1 month
Notes:
svn path=/head/; revision=262330
|
|
|
|
|
|
|
|
|
| |
expect the installed ksh binary to be named "ksh", which is not the case
when it's installed on FreeBSD via the shells/ksh93 port. Allow for it to be
"ksh93" as well so that the tests can actually pass.
Notes:
svn path=/head/; revision=258903
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Merge change from illumos:
3519 DTrace fails to resolve const types from fbt
3520 dtrace internal error -- token type 316 is not a valid D
compilation token
3521 clean up dtrace unit tests
Illumos Revision: e98f46c
Reference:
https://www.illumos.org/issues/3519
https://www.illumos.org/issues/3520
https://www.illumos.org/issues/3521
Tested by: Fabian Keil
Obtained from: Illumos
MFC after: 1 month
Notes:
svn path=/head/; revision=253726
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bring back some important fixes from Illumos:
3022 DTrace: keys should not affect the sort order when sorting by value
3023 it should be possible to dereference dynamic variables
3024 D integer narrowing needs some work
We particularly avoid the LD_NOLAZYLOAD changes that Illumos made
as those don't apply to FreeBSD and were causing problems in
interactive mode.
Illumos Revision: 13758:23432da34147
Reference:
https://www.illumos.org/issues/3022
https://www.illumos.org/issues/3023
https://www.illumos.org/issues/3024
MFC after: 1 month
Tested by: markj
Notes:
svn path=/head/; revision=253725
|
|
|
|
|
|
|
| |
latter doesn't exist in FreeBSD. All the tests under fbtprovider pass now.
Notes:
svn path=/head/; revision=253720
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
seven arguments.
The original test uses Solaris' uadmin system call to trigger the test
probe; this change adds a sysctl to the dtrace_test module and gets the test
program to trigger the test probe via the sysctl handler.
The test is currently failing on amd64 because of some bugs in the way that
probe arguments beyond the first five are obtained - these bugs will be
fixed in a separate change.
Notes:
svn path=/head/; revision=251237
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
dt_cg_ptrsize() and generally cleans up some of the error handling around
register allocation.
This change corresponds to part of illumos-gate commit e5803b76927480:
3025 register leak in D code generation
Reviewed by: pfg
Obtained from: illumos
MFC after: 1 month
Notes:
svn path=/head/; revision=250812
|
|
|
|
|
|
|
|
|
|
|
| |
FreeBSD. In the IPv6 case, try each interface before returning an error;
each IPv6-enabled interface will have a link-local address even if the link
isn't up.
MFC after: 1 week
Notes:
svn path=/head/; revision=250685
|
|
|
|
|
|
|
| |
to remove the last line of a file.
Notes:
svn path=/head/; revision=250575
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
users to guarantee that the output of DTrace scripts will be time-ordered.
This option is enabled by adding the line
#pragma D option temporal
to the beginning of a script, or by adding '-x temporal' to the arguments of
dtrace(1).
This change fixes a bug in the original port of the temporal option. This
bug was causing some assertions to fail, so they had been disabled; in this
revision the assertions are working properly and are enabled.
The DTrace version number has been bumped from 1.9.0 to 1.9.1 to reflect
the language change that's being introduced.
This change corresponds to part of illumos-gate commit e5803b76927480:
3021 option for time-ordered output from dtrace(1M)
Reviewed by: pfg
Obtained from: illumos
MFC after: 1 month
Notes:
svn path=/head/; revision=250574
|
|
|
|
|
|
|
|
|
| |
This change actually depends on r249367 which had to be reverted
Pointy Hat: pfg
Notes:
svn path=/head/; revision=249575
|