Skip to content

Commit

Permalink
Don't do frame pointer unwinding for aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
peadar committed Oct 14, 2024
1 parent 5a14bda commit cde557b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/basic-test.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
#!/usr/bin/python3

import pstack
import platform

basicBinaries = [ "basic", "basic-zlib", "basic-zlib-gnu" ]
if platform.machine() != "aarch64":
basicBinaries.append( "basic-no-unwind" )

for ex in [ "basic", "basic-zlib", "basic-zlib-gnu", "basic-no-unwind" ]:
for ex in basicBinaries:
print("running for '%s'" % ex)
threads, _ = pstack.JSON(["tests/%s" % ex ])
assert len(threads) == 1
Expand Down

0 comments on commit cde557b

Please sign in to comment.