Bug 300901
Summary: | Systemtap translator's missing deref_fault labels | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jan Kratochvil <jan.kratochvil> |
Component: | systemtap | Assignee: | Frank Ch. Eigler <fche> |
Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | rawhide | CC: | wcohen |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-09-25 03:04:33 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jan Kratochvil
2007-09-21 17:58:07 UTC
The actual problem is a orthogonal to the instrumentation of the syscall.wait4. You should be able to run without the "-u" option: echo 'probe syscall.wait4 {}' >./wait4.stp;stap ./wait4.stp The "-u" option for systemtap avoids optimizing out code, so all generated code is left in. The kread macro in systemtap_write/src/runtime/loc2c-runtime.h uses the macro deref, which refers to macro DEREF_FAULT which has the offending reference to the label deref_fault. The translator is not including the needed labels in the generated functions. The problem is that several embedded-C functions use kread() but do not have the necessary CATCH_DEREF_FAULT at the bottom. Real bug. fixed. |