| Summary: | [Yocto-2.6_M3.rc1] [MANUAL_SCRIPTS_OE-Core] [Case 2021] [Cross_tap]semantic error: while resolving probe point: identifier 'syscall' at trace_open.stp | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | pankaj yadav <pankaj-y> | ||||
| Component: | configuration | Assignee: | Victor Kamensky <victor.kamensky7> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | Medium | CC: | poky.bs.watcher, poky.watcher, richard.purdie, victor.kamensky7 | ||||
| Version: | 2.6 | ||||||
| Target Milestone: | 2.7 | ||||||
| Hardware: | x86 | ||||||
| OS: | Multiple | ||||||
| Whiteboard: | |||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |||||
| Attachments: |
|
||||||
|
Description
pankaj yadav
2018-10-04 05:27:05 UTC
This issue is only observed on x86_64 target. I've checked all other CPU types the test case works OK there. The issue happens after OE project moved to 4.18 kernel. It turns out SystemTap all system call traces in SystemTap 3.3 on x86_64 do not work on kernels 4.17+. Please look at https://bugzilla.redhat.com/show_bug.cgi?id=1596456 Unfortunately, there is no reasonable size fix that could be backported into 3.3. SystemTap just anounced new 4.0 release and one of major updates there is [REDHAT #1596456] fix. I will post systemtap OE recipe update to 4.0 version shortly, but I am not sure whether it would be accepted for 2.6. Note one can workaround issue by using kernel function traces with proper names directly. I.e like __x86_sys_open, __ia32_compat_sys_open. Also note even if issue would be fixed, and SystemTap module will compile, in OE system at this point not much code uses open system call, so you would not see any traces from it. Instead try openat (which currently is subject to the same issue). Proposed fix by move to SystemTap 4.0 is at http://lists.openembedded.org/pipermail/openembedded-core/2018-October/156731.html Fix was merged: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=5a0e22ebc93ed895f7b2cb3faab58c35dbab3e43 Thanks for the help with this Victor! |