]> sourceware.org Git - systemtap.git/commit
Accept relative user module paths for -d.
authorMark Wielaard <mjw@redhat.com>
Fri, 13 Nov 2009 12:39:24 +0000 (13:39 +0100)
committerMark Wielaard <mjw@redhat.com>
Fri, 13 Nov 2009 12:45:46 +0000 (13:45 +0100)
commitf6ac00e8c648759ac70f290b90c4f369e72dd623
treeaa26fc5993a715b85a34a7f4146230f65a8a35fd
parent5f1af961c261c83fa79ae656a2e14c08b1194596
Accept relative user module paths for -d.

When using relative (non-canonical) paths for user modules one would get
a confusing WARNING: missing unwind/symbol data for module 'bin/test'.
Also unless the path started with '/' the task_finder wouldn't start.
By checking that the given file can be made absolute (canonicalized)
both issues are resolved and the user module will be correctly identified
at both translation and runtime.

* main.cxx (main): case 'd' try canonicalize_file_name() the argument
  first to identify user modules.
main.cxx
This page took 0.025845 seconds and 5 git commands to generate.