https://sourceware.org/bugzilla/show_bug.cgi?id=32916
Bug ID: 32916 Summary: add eu-stack + eu-stacktrace test harness Product: elfutils Version: unspecified Status: NEW Severity: normal Priority: P2 Component: tools Assignee: unassigned at sourceware dot org Reporter: serhei at serhei dot io CC: elfutils-devel at sourceware dot org Target Milestone: --- To remove the 'experimental' status on the new libdwfl_stacktrace (added in version 0.193) and eu-stacktrace, the first thing that needs to be added is proper testsuite coverage. This is fairly involved: * First, add a test harness that tests eu-stack against a live process (eu-stack isn't being tested either). * Next, rework eu-stacktrace into a basic profiling tool that can get data from perf_events directly (or some other sampling mechanism that is more amenable to being run on buildbots?). This serves as a standalone way to test the libdwfl_stacktrace functionality * Next, add a test harness for eu-stacktrace. Since the exact profiling data on a system is hard to predict, the test would just sanitycheck some basic properties (presence of some test process, not too many packets 'lost' or failed to unwind, etc.). The exact requirements will need to be tuned to avoid making the test flaky. * Follow-up work would be to enable some of the commented assertions in the libdwfl_stacktrace caching code. (These document various edge cases in the caching logic that can be improved.) -- You are receiving this mail because: You are on the CC list for the bug.