Skip to content

Commit

Permalink
don't fail fatally if qtrace can't be loaded
Browse files Browse the repository at this point in the history
Helps with p9 public mambo on fedora at least

Fixes: cb835db
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
  • Loading branch information
stewartsmith committed Aug 15, 2018
1 parent ef9caad commit b660566
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion external/mambo/qtrace_utils.tcl
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
if { [file exists $env(LIB_DIR)/perf/qtrace.tcl] == 1} {
source $env(LIB_DIR)/perf/qtrace.tcl
if { [catch {source $env(LIB_DIR)/perf/qtrace.tcl} issue ] } {
puts "QTrace not available: $issue"
}

proc start_qtrace { { qtfile qtrace.qt } } {
QTrace::Initialize p9 mysim
Expand Down

0 comments on commit b660566

Please sign in to comment.