mirror of
https://github.com/ceph/ceph
synced 2024-12-17 08:57:28 +00:00
13 lines
257 B
Perl
Executable File
13 lines
257 B
Perl
Executable File
#!/usr/bin/perl
|
|
|
|
my $rank = shift @ARGV;
|
|
my $args = join(' ',@ARGV);
|
|
if ($rank == $ENV{MPD_JRANK}) {
|
|
$c = "LD_PRELOAD=$ENV{'HOME'}/csl/obsd/src/pmds/gprof-helper.so ./newsyn $args";
|
|
} else {
|
|
$c = "./newsyn.nopg $args";
|
|
}
|
|
|
|
#print "$rank: $c\n";
|
|
system $c;
|