commit | 838f3f7b321d66eee0be786b52f6e3b8a40d5a68 | [log] [tgz] |
---|---|---|
author | Namhyung Kim <namhyung@kernel.org> | Thu Mar 14 10:37:29 2024 -0700 |
committer | Namhyung Kim <namhyung@kernel.org> | Mon Mar 18 22:15:24 2024 -0700 |
tree | 7116b2da23ae8543b4525d0eea28b53d20fdffdb | |
parent | 60bf4ed410cf630df4c1c9002eb3b58294f698cf [diff] |
perf annotate-data: Do not retry for invalid types In some cases, it was able to find a type or location info (for per-cpu variable) but cannot match because of invalid offset or missing global information. In those cases, it's meaningless to go to the outer scope and retry because there will be no additional information. Let's change the return type of find_matching_type() and bail out if it returns -1 for the cases. Signed-off-by: Namhyung Kim <namhyung@kernel.org>