Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-84679

Tracepoints don't work in namespaced builds

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.15, 6.0.0
    • Fix Version/s: None
    • Component/s: Build tools: Other
    • Labels:
      None

      Description

      As per subject.

      The bug is twofold: for every tracepoint we generate a TRACEPOINT_EVENT and some function calls implementing the Qt-agnostic tracepoint calling.

      1) The Qt-like parameters in TRACEPOINT_EVENT need QT_PREPEND_NAMESPACE wrapping, or they won't be found
      2) The function calls are declared inside namespace QtPrivate, but that needs QT_BEGIN_NAMESPACE/QT_END_NAMESPACE wrapping

      (TBH I'd also move them out of QtPrivate and into further sub-namespace)

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            milianw Milian Wolff
            Reporter:
            peppe Giuseppe D'Angelo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes