mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-10 01:55:08 +00:00
[Order Files] Fixing an error in the perf-helper script
Dtrace probemod needs to be based on the first argument of the command, not the first argument of the args. This error was introduced a while back when I added support for skipping the driver and invoking cc1 directly. llvm-svn: 277401
This commit is contained in:
parent
b44909eccb
commit
973781bbb4
@ -75,7 +75,7 @@ def dtrace(args):
|
||||
target = "oneshot$target:::entry"
|
||||
else:
|
||||
target = "pid$target:::entry"
|
||||
predicate = '%s/probemod=="%s"/' % (target, os.path.basename(args[0]))
|
||||
predicate = '%s/probemod=="%s"/' % (target, os.path.basename(cmd[0]))
|
||||
log_timestamp = 'printf("dtrace-TS: %d\\n", timestamp)'
|
||||
if opts.use_ustack:
|
||||
action = 'ustack(1);'
|
||||
|
Loading…
Reference in New Issue
Block a user