aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorKristen Carlson Accardi <[email protected]>2020-04-15 14:04:43 -0700
committerJosh Poimboeuf <[email protected]>2020-05-28 11:06:05 -0500
commite000acc145928693833f09152244242a678d3cd5 (patch)
treee643da8804969e058f6f68216ef2471de72f44a9 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent0decf1f8de919782b152daf9c991967a2bac54f0 (diff)
objtool: Do not assume order of parent/child functions
If a .cold function is examined prior to it's parent, the link to the parent/child function can be overwritten when the parent is examined. Only update pfunc and cfunc if they were previously nil to prevent this from happening. This fixes an issue seen when compiling with -ffunction-sections. Signed-off-by: Kristen Carlson Accardi <[email protected]> Signed-off-by: Josh Poimboeuf <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions