Changeset 6bfe6a1 for memlog2dot
- Timestamp:
- 05/28/15 18:15:39 (9 years ago)
- Branches:
- master
- Children:
- 0edbc98
- Parents:
- 81dea5b
- git-author:
- Hal Finkel <hfinkel@…> (05/28/15 18:15:39)
- git-committer:
- Hal Finkel <hfinkel@…> (05/28/15 18:15:39)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
memlog2dot
r81dea5b r6bfe6a1 5 5 my $memlog_fn = $ARGV[0]; 6 6 my $out_dir = $ARGV[1] || '.'; 7 8 my $print_raw_proc_name = 0; 7 9 8 10 if (! -f $memlog_fn) { … … 152 154 } 153 155 154 $ret .= basename($node->{'file_name'});155 if ($ node->{'proc_name'} ne '?') {156 $ret .= ' (' . $node->{'proc_name'} . '+0x' . $node->{'off'} . ')';156 $ret .= $node->{'file_name'}; 157 if ($print_raw_proc_name and $node->{'proc_name'} ne '?') { 158 $ret .= '\n' . $node->{'proc_name'} . '+0x' . $node->{'off'}; 157 159 } 158 160
Note: See TracChangeset
for help on using the changeset viewer.