aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/qmljs/qmljscheck.cpp
diff options
context:
space:
mode:
authorAaron Barany <akb825@gamil.com>2021-04-29 16:27:15 -0700
committerAaron Barany <akb825@gmail.com>2022-02-04 22:14:16 +0000
commitba0886495454bdc2d777aa38f3c573463c4cd94f (patch)
tree5c4da6692a81c2dbe0139d12708476aea20e103f /src/libs/qmljs/qmljscheck.cpp
parentcfc789041636c5de703d9db6757799fafeff3a2d (diff)
PerformanceAnalyzer: Fix tracepoints script
Fixed issues seen running the tracepoint script in Arch Linux: * Use /lib/ rather than /lib for the call to find to work with cases where /lib is a symlink. * When finding <name>_ret entries in match_tracepoints, search for <name>_ret__return if the initial check failed. Newer versions of perf seem to decorate the name with __return when the function name is followed by %return. * Handle arrays output from the call to awk in match_tracepoints. This can happen when multiple functions are added with the tracepoint, and breaks when checking for "bad" probes when a loop isn't used to add individual checks for each entry. Fixes: QTCREATORBUG-25651 Change-Id: Ie528b4d80f9ece8f23d27a84356c74577219ed45 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/libs/qmljs/qmljscheck.cpp')
0 files changed, 0 insertions, 0 deletions