File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed
tools/profiling/systemtap Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 1+ { linuxPackages } :
2+ linuxPackages . systemtap . override {
3+ withStap = false ;
4+ }
5+ // {
6+ meta = linuxPackages . systemtap . meta // {
7+ description = "Build USDT tracepoints with the 'dtrace' executable on Linux" ;
8+ mainProgram = "dtrace" ;
9+ } ;
10+ }
Original file line number Diff line number Diff line change 4646 else if ( stdenv . hostPlatform . extensions . library == ".dll" ) then "2.0-0.dll"
4747 else "2.0-0.lib" ;
4848
49- systemtap' = buildPackages . linuxPackages . systemtap . override { withStap = false ; } ;
49+ systemtap' = buildPackages . systemtap-sdt ;
5050 withDtrace =
5151 lib . meta . availableOn stdenv . buildPlatform systemtap' &&
5252 # dtrace support requires sys/sdt.h header
Original file line number Diff line number Diff line change 1111 gnumake ,
1212 python3 ,
1313 nixosTests ,
14- withStap ? true , # avoid cyclic dependency with glib
14+ withStap ? true , # avoid cyclic dependency with glib, reduce closure size substantially
1515} :
1616
1717let
You can’t perform that action at this time.
0 commit comments