Bug 19470 - process_by_pid.exp always fails on arches that don't support .plt probes
Summary: process_by_pid.exp always fails on arches that don't support .plt probes
Status: RESOLVED FIXED
Alias: None
Product: systemtap
Classification: Unclassified
Component: testsuite (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-14 16:17 UTC by David Smith
Modified: 2016-01-14 16:23 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Smith 2016-01-14 16:17:43 UTC
Currently, only x86/arm/aarch64 support .plt probes. However, the process_by_pid.exp testcase always tries to use .plt probes, causing failures on all other arches.

The testcase does the equivalent of the following (this is from a ppc64 system):

====
# stap -p4 ../src/testsuite/systemtap.base/process_by_pid.stp 123
semantic error: while resolving probe point: identifier 'process' at ../src/testsuite/systemtap.base/process_by_pid.stp:12:7
        source: probe process($1).function("*") {
                      ^

semantic error: no match

Pass 2: analysis failed.  [man error::pass2]
Number of similar error messages suppressed: 4.
Rerun with -v to see them.
====
Comment 1 David Smith 2016-01-14 16:23:27 UTC
Fixed in commit 4a2b1c3. The process_by_pid.exp testcase now passes on ppc64 (with 1 expected dyninst kfail).