Wind River Support Network

HomeDefectsLIN6-10366
Fixed

LIN6-10366 : wrl6 : SystemTap cant probe C++ function.

Created: Sep 22, 2015    Updated: Dec 3, 2018
Resolved Date: Oct 26, 2015
Found In Version: 6.0.0.24
Fix Version: 6.0.0.26
Severity: Severe
Applicable for: Wind River Linux 6
Component/s: Userspace

Description

SystemTap can't probe C++ function.

Steps to Reproduce

SystemTap can't probe C++ function.

Test case is attached in a .zip file.

root@m9087:/root/tmp2> ./run_test_cpp
Testing 64-bit
Hello, world!
semantic error: while resolving probe point: identifier 'process' at trace_cpp.stp:5:7
source: probe process(@NAME).function("_Z*Test*print*") {
^

semantic error: no match (similar functions: _init, __libc_csu_init, __libc_csu_fini)
Pass 2: analysis failed. [man error::pass2]

Expected:
[root@lnx_debug05 tmp3]# ./run_test_cpp
Testing 64-bit
Hello, world!
Hello, world!
Sep 11 17:00:06.639652, test_cpp64, 24609, Test::print

Other Downloads


Live chat
Online