Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • xserver xserver
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 944
    • Issues 944
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 123
    • Merge requests 123
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • xorgxorg
  • xserverxserver
  • Merge requests
  • !849

glamor: Only log a backtrace above a debug level

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed Olivier Fourdan requested to merge ofourdan/xserver:glamor-backtrace-debug-level into master Jan 17, 2022
  • Overview 5
  • Commits 1
  • Pipelines 2
  • Changes 2

GLAMOR now logs an xorg_backtrace whenever a GL error is raised, to help with debugging issues and identify the root cause of the GL error in the code.

Yet that's meant for debugging, not necessarily something worth enabling all the time.

Add a new debug level for glamor and log the backtraces only when the debug level is set above that value, e.g. GLAMOR_DEBUG=4

Signed-off-by: Olivier Fourdan ofourdan@redhat.com
See-also: #1288
Fixes: 3b265c59 - glamor: Dump backtrace on GL error

Edited Jan 17, 2022 by Olivier Fourdan
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: glamor-backtrace-debug-level