You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
345 B
19 lines
345 B
#!/usr/bin/perl
|
|
|
|
opendir(DIR, ".") || die "can't opendir $some_dir: $!";
|
|
@traces = grep { /.*\.dmtrace\.data/ } readdir(DIR);
|
|
|
|
foreach (@traces)
|
|
{
|
|
$input = $_;
|
|
$input =~ s/\.data$//;
|
|
|
|
$output = "$input.html";
|
|
|
|
print("dmtracedump -h -p $input > $output\n");
|
|
system("dmtracedump -h -p '$input' > '$output'");
|
|
|
|
}
|
|
|
|
closedir DIR;
|