Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
M
mutter
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 786
    • Issues 786
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 104
    • Merge Requests 104
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • mutter
  • Merge Requests
  • !197

Merged
Created Aug 11, 2018 by Georges Basile Stavracas Neto@feaneronMaintainer4 of 4 tasks completed4/4 tasks

Sysprof

  • Overview 55
  • Commits 9
  • Pipelines 42
  • Changes 15

Description

This is a continuation of Jonas Ådahl's Sysprof capturing work on Cogl that happened during the Performance Hackfest 2018. It allows capturing data about frame times and saving it into a syscap file, that is parsed by Sysprof to give a nice visualization of frame times.

Here's a screenshot of what to expect from this work:

sysprof3 mutter

The call stack is empty due to no proper Sysprof integration yet - nothing from it is being recorded beyong the frame times, which is what can be seen in the picture.

Justification

In order to correctly identify performance bottlenecks in the rendering routines, it is fundamental to have precise and reliable data. Without it, it's much harder to understand what's happening and make correct decisions - essentially, educated guess at most.

With Sysprof integration showing both frame times and CPU consumption, it will be possible to address this issue.

Details

A new D-Bus interface is introduced. It is the first, embryonic tentative of what will be a generic Sysprof D-Bus interface that will be implemented by applications that integrate with Sysprof 3.

To Do

  • Validate the proposed org.gnome.Sysprof.Capturer interface
  • Check if the pipe-based code actually works (requires Sysprof, or similar tool, to run)
  • Adapt code style if necessary
  • Work on Sysprof side

Fixes #614 (closed)

Edited May 30, 2019 by Georges Basile Stavracas Neto
Assignee
Assign to
Reviewer
Request review from
GNOME 3.34
Milestone
GNOME 3.34
Assign milestone
Time tracking
Source branch: gbsneto/tracing