Project

General

Profile

Actions

Feature #1180

open

SDT tracing does not work when the probes are compiled with semaphores

Added by Naser Ez over 5 years ago. Updated over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
Francis Deslauriers
Target version:
Start date:
03/27/2019
Due date:
% Done:

0%

Estimated time:

Description

Tracing SDT probes does not work when the probes are compiled with semaphores.

For example, when we have a probe like:

    Provider: nginx
    Name: http__subrequest__start
    Location: 0x0000000000429e9c, Base: 0x0000000000473810, Semaphore: 0x00000000006920ba

    Arguments: 8@%rbx__

then running the following command:

    lttng enable-event -k nginx:http__subrequest__start --userspace-probe=sdt:/usr/local/nginx/sbin/nginx:nginx:http__subrequest__start

will generate this error:

     Error: Event nginx:http__subrequest__start: Invalid userspace probe location (channel channel0, session auto-20190327-105118)

Actions #1

Updated by Francis Deslauriers over 5 years ago

As discussed on IRC, supporting probe points with semaphores would require significant engineering efforts. But we could improve the explanation printed by the error message.

Actions #2

Updated by Francis Deslauriers over 5 years ago

  • Tracker changed from Bug to Feature
Actions

Also available in: Atom PDF