From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 37C6B39874E2; Wed, 14 Jul 2021 19:48:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 37C6B39874E2 From: "wcohen at redhat dot com" To: systemtap@sourceware.org Subject: [Bug translator/27984] stap skipping partially-inlined instance, but it is not inline function actually Date: Wed, 14 Jul 2021 19:48:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: translator X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wcohen at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: everconfirmed cc bug_status cf_reconfirmed_on Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: systemtap@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Systemtap mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jul 2021 19:48:51 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27984 William Cohen changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 CC| |wcohen at redhat dot com Status|UNCONFIRMED |NEW Last reconfirmed| |2021-07-14 --- Comment #1 from William Cohen --- What specific compiler and openssl source were used to create the reproduce= r? If tls_process_client_hello is really a partially inlined function, then it should be skipped and the probe be place in the inlined piece of tls_process_client_hello. However, there doesn't seem to rest of the funct= ion listed as a regular function (DW_TAG_subprogram) or inlined (DW_TAG_inlined_subroutine) in the debuginfo,but there is a DW_TAG_GNU_call_site: $ llvm-dwarfdump --name=3Dtls_process_client_hello stap-job1/sysroot/usr/local/openresty/openssl/lib/libssl.so.1.1=20 stap-job1/sysroot/usr/local/openresty/openssl/lib/libssl.so.1.1: file format elf64-x86-64 0x001069fb: DW_TAG_subprogram DW_AT_external (true) DW_AT_name ("tls_process_client_hello") DW_AT_decl_file=20=20 ("/tmp/openssl-OpenSSL_1_1_1g/ssl/statem/statem_srvr.c") DW_AT_decl_line (1383) DW_AT_decl_column (0x14) DW_AT_prototyped (true) DW_AT_type (0x000ffac0 "MSG_PROCESS_RETURN") DW_AT_low_pc (0x0000000000061b70) DW_AT_high_pc (0x000000000006253e) DW_AT_frame_base (DW_OP_call_frame_cfa) DW_AT_GNU_all_call_sites (true) DW_AT_sibling (0x001081b4) 0x001084cd: DW_TAG_GNU_call_site DW_AT_low_pc (0x0000000000065195) DW_AT_GNU_tail_call (true) DW_AT_abstract_origin (0x001069fb "tls_process_client_hel= lo") --=20 You are receiving this mail because: You are the assignee for the bug.=