Summary: | save_stack_trace code in runtime stack* needs more than CONFIG_STACKTRACE | ||
---|---|---|---|
Product: | systemtap | Reporter: | Frank Ch. Eigler <fche> |
Component: | runtime | Assignee: | Tim Moore <timoore> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mark, srikar |
Priority: | P2 | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: |
Description
Frank Ch. Eigler
2009-02-18 22:31:46 UTC
Part of the responsibility of committing code to the runtime is keeping it buildable as kernels change. Even with commit 8aaa6e11f666ad372107299b5b17602011125c7d "PR9866 band-aid: deactivate new CONFIG_STACKTRACE code for older kernels" Stap fails to build a kernel module on a ppc64 machine with latest kernel with config option CONFIG_STACKTRACE set. This is because there is no asm/stacktrace.h file for ppc64 and hence we cant use struct stacktrace_ops print_stack_ops on ppc64. Fixed by adding a STAPCONF test and define (8c5905d0) |