Skip to content

Graphs for system/context FPS #188

@eero-t

Description

@eero-t

After there's support for graphing tracepoints (#180), whole system and per-context FPS can be graphed by adding ftrace uprobe tracepoints to suitable functions in user space libraries.

I can provide (Python) code for adding these trace points. It checks from /proc/*/maps which of the currently running processes link relevant (EGL/GLX/Vulkan) libraries, uses readelf to find out buffer swap/present functions offsets in these libraries, and then adds uprobe tracepoints for all of them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions