aboutsummaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.ibm.com>2018-08-15 16:14:06 +1000
committerStewart Smith <stewart@linux.ibm.com>2018-08-15 16:14:06 +1000
commitb6605667cf80ca7429a9b696dd6474961919a8a5 (patch)
tree7c089ca6604b22fe901e18c586a95ce48df93927 /external
parentef9caad57e59ffc1a9ee44d38a161f624993b67b (diff)
downloadskiboot-b6605667cf80ca7429a9b696dd6474961919a8a5.zip
skiboot-b6605667cf80ca7429a9b696dd6474961919a8a5.tar.gz
skiboot-b6605667cf80ca7429a9b696dd6474961919a8a5.tar.bz2
don't fail fatally if qtrace can't be loaded
Helps with p9 public mambo on fedora at least Fixes: cb835dbdf8758b1fb0cae0ef2f93b324d1c4c96e Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'external')
-rw-r--r--external/mambo/qtrace_utils.tcl4
1 files changed, 3 insertions, 1 deletions
diff --git a/external/mambo/qtrace_utils.tcl b/external/mambo/qtrace_utils.tcl
index 8080ae4..e12a4c5 100644
--- a/external/mambo/qtrace_utils.tcl
+++ b/external/mambo/qtrace_utils.tcl
@@ -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