Skip to content

Commit

Permalink
Enable dtrace pre linking on Linux.
Browse files Browse the repository at this point in the history
When Systemtap is installed one can also trace applications that support dtrace.
For this to work however we'll need to link the required objects just like on
FreeBSD.
  • Loading branch information
Yorick Peterse committed Nov 5, 2014
1 parent 9118593 commit 9fec1fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rakelib/blueprint.rb
Expand Up @@ -51,8 +51,8 @@

gcc.ldflags << "-lm"

if Rubinius::BUILD_CONFIG[:dtrace] and
Rubinius::BUILD_CONFIG[:os] =~ /freebsd(9|10)/
if Rubinius::BUILD_CONFIG[:dtrace] #and
#Rubinius::BUILD_CONFIG[:os] =~ /freebsd(9|10)/
gcc.ldflags << "-lelf"
gcc.ldflags << "vm/dtrace/probes.o"

Expand Down

0 comments on commit 9fec1fd

Please sign in to comment.