[DTrace-devel] [oracle/dtrace-utils] 197061: Pass pid explicitly to dtrace provider's uprobe_spec
euloh
noreply at github.com
Tue Jan 23 06:11:01 UTC 2024
Branch: refs/heads/devel
Home: https://github.com/oracle/dtrace-utils
Commit: 197061cb41c95241c5761ae4e07d44ba2446acb7
https://github.com/oracle/dtrace-utils/commit/197061cb41c95241c5761ae4e07d44ba2446acb7
Author: Eugene Loh <eugene.loh at oracle.com>
Date: 2024-01-23 (Tue, 23 Jan 2024)
Changed paths:
M libdtrace/dt_prov_dtrace.c
Log Message:
-----------
Pass pid explicitly to dtrace provider's uprobe_spec
Signed-off-by: Eugene Loh <eugene.loh at oracle.com>
Reviewed-by: Kris Van Hees <kris.van.hees at oracle.com>
Commit: 9bdb7f705a667e57c1c8795a47baa3617685b0e8
https://github.com/oracle/dtrace-utils/commit/9bdb7f705a667e57c1c8795a47baa3617685b0e8
Author: Eugene Loh <eugene.loh at oracle.com>
Date: 2024-01-23 (Tue, 23 Jan 2024)
Changed paths:
M libdtrace/dt_cg.c
Log Message:
-----------
Delay setting %r1 to reduce reg overwrite
Register management is currently a little risky. In this case,
we set %r1 first even though theoretically that could overwrite
some value. We might as well delay setting %r1 since its value
depends on no other registers.
Signed-off-by: Eugene Loh <eugene.loh at oracle.com>
Reviewed-by: Kris Van Hees <kris.van.hees at oracle.com>
Commit: eff013bb55c4529d3852f7d1403418f8867d8330
https://github.com/oracle/dtrace-utils/commit/eff013bb55c4529d3852f7d1403418f8867d8330
Author: Eugene Loh <eugene.loh at oracle.com>
Date: 2024-01-23 (Tue, 23 Jan 2024)
Changed paths:
M libdtrace/dt_cg.c
Log Message:
-----------
Save instruction in dt_cg_alloca_ptr() for the common sreg==dreg case
Signed-off-by: Eugene Loh <eugene.loh at oracle.com>
Reviewed-by: Kris Van Hees <kris.van.hees at oracle.com>
Commit: 69c8bd4f9b1d4ee31f4fb158259b17870d94eb9c
https://github.com/oracle/dtrace-utils/commit/69c8bd4f9b1d4ee31f4fb158259b17870d94eb9c
Author: Eugene Loh <eugene.loh at oracle.com>
Date: 2024-01-23 (Tue, 23 Jan 2024)
Changed paths:
A test/demo/lockstat/whatlock.x
A test/unittest/lockstat/test.x
Log Message:
-----------
test: Skip lockstat prior to 5.10
Turn off lockstat testing prior to 5.10 due to commit 197115e2
"lockstat: refuse to provide probes on kernels < 5.10.0".
Signed-off-by: Eugene Loh <eugene.loh at oracle.com>
Reviewed-by: Kris Van Hees <kris.van.hees at oracle.com>
Commit: b6b0228609e8be475382deaeef7d40762451f03a
https://github.com/oracle/dtrace-utils/commit/b6b0228609e8be475382deaeef7d40762451f03a
Author: Eugene Loh <eugene.loh at oracle.com>
Date: 2024-01-23 (Tue, 23 Jan 2024)
Changed paths:
M libdtrace/dt_impl.h
M libdtrace/dt_work.c
A test/stress/options/tst.cpu-BEGIN.sh
A test/stress/options/tst.cpu-END.sh
A test/unittest/options/tst.cpu-BEGIN.sh
A test/unittest/options/tst.cpu-END.sh
Log Message:
-----------
Add -xcpu support to dtrace provider
Signed-off-by: Eugene Loh <eugene.loh at oracle.com>
Reviewed-by: Kris Van Hees <kris.van.hees at oracle.com>
Commit: 7905d2349f97fedc944a350b0650865a03f7e93f
https://github.com/oracle/dtrace-utils/commit/7905d2349f97fedc944a350b0650865a03f7e93f
Author: Eugene Loh <eugene.loh at oracle.com>
Date: 2024-01-23 (Tue, 23 Jan 2024)
Changed paths:
M libdtrace/dt_prov_profile.c
A test/stress/options/tst.cpu-profile.sh
A test/stress/options/tst.cpu-tick.sh
A test/unittest/options/tst.cpu-profile.sh
A test/unittest/options/tst.cpu-tick.sh
Log Message:
-----------
Add -xcpu support to profile provider
Signed-off-by: Eugene Loh <eugene.loh at oracle.com>
Reviewed-by: Kris Van Hees <kris.van.hees at oracle.com>
Commit: 6588ea5e7afdbf617852d04d6297e9930a4c0fc1
https://github.com/oracle/dtrace-utils/commit/6588ea5e7afdbf617852d04d6297e9930a4c0fc1
Author: Eugene Loh <eugene.loh at oracle.com>
Date: 2024-01-23 (Tue, 23 Jan 2024)
Changed paths:
M libdtrace/dt_prov_cpc.c
A test/stress/options/tst.cpu-cpc.sh
A test/unittest/options/tst.cpu-cpc.sh
Log Message:
-----------
Add -xcpu support to cpc provider
Signed-off-by: Eugene Loh <eugene.loh at oracle.com>
Reviewed-by: Kris Van Hees <kris.van.hees at oracle.com>
Commit: 65c7605914eafcf5b571ad8e78ce6604578b769b
https://github.com/oracle/dtrace-utils/commit/65c7605914eafcf5b571ad8e78ce6604578b769b
Author: Eugene Loh <eugene.loh at oracle.com>
Date: 2024-01-23 (Tue, 23 Jan 2024)
Changed paths:
M libdtrace/dt_cg.c
M libdtrace/dt_cg.h
M libdtrace/dt_prov_cpc.c
M libdtrace/dt_prov_profile.c
A test/stress/options/tst.cpu-syscall.sh
A test/unittest/options/tst.cpu-syscall.sh
Log Message:
-----------
Add -xcpu support for general providers
Add code to dt_cg_tramp_prologue() to filter on the desired cpu.
Then call the new dt_cg_tramp_prologue_cpu() function, which
assumes a cpu has already been selected, if necessary.
Providers that handle -xcpu specially can bypass that filtering
by calling the new dt_cg_tramp_prologue_cpu() function.
The new function simply calls
dt_cg_tramp_prologue_act(pcb, DT_ACTIVITY_ACTIVE). The _act
function is called directly by only one provider: dtrace.
Signed-off-by: Eugene Loh <eugene.loh at oracle.com>
Reviewed-by: Kris Van Hees <kris.van.hees at oracle.com>
Compare: https://github.com/oracle/dtrace-utils/compare/2355f1afddc1...65c7605914ea
More information about the DTrace-devel
mailing list