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

Tracepoints don't work in namespaced builds

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.0.0, 5.15
    • Build tools: Other
    • 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

            milianw Milian Wolff
            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