5 Commits
Author SHA1 Message Date
Antonio Caggiano 05676a0376 perf: Update gfx-pps version
Signed-off-by: Antonio Caggiano <[email protected]>
Reviewed-by: Gert Wollny <[email protected]>
2021-01-28 08:54:01 +00:00
Antonio Caggiano c165357711 perf: Fix trace path handling in scripts
Fix `run.sh` and `run_traces.sh` trace path handling by taking into
account that the `--trace` option may contain a multi-directory path
relative to traces-db.

Together with this fix, you should expect to find the output directory
of a perf testing session under the same directory of the trace file.

Signed-off-by: Antonio Caggiano <[email protected]>
Reviewed-by: Gert Wollny <[email protected]>
2021-01-27 14:59:11 +01:00
Louis-Francis Ratté-Boulianne b9dc30355a perf: don't start perfetto when disabled with argument
Reviewed-by: Gert Wollny <[email protected]>
2021-01-25 08:28:05 +00:00
Rohan Garg 104fef05e6 perf: Build crates locked to a version
Lock crates to version specified by crosvm when building
to ensure that the build succeeds.

Signed-off-by: Rohan Garg <[email protected]>
Reviewed-by: Gert Wollny <[email protected]>
2021-01-14 14:59:18 +01:00
Gert Wollny e7f47fd3db perf: add scripts to build docker image and run perfetto trace analysis
Most of the work of this MR was done by Tomeu.

Changes:
  - update the Dockerfile to use the new virglrenderer tracing option
  - use command line parsing to pass the parameters when running a trace
  - move some files and rename scripts

v2: - unify gfx-pps build (Tomeu) and use to suggested branch (Fahien)
    - use upstream tagged version for igt-gpu-tools (Tomeu)
    - add parameters to set benchmark loop count (Louis-Francis)
    - add parameter to set perfetto loop count or loopless run

v3: - compile virglrenderer against minigbm (Rohan)
    - compile minigbm with driver i915 (Rohan)

v4: Don't build mesa-gbm (instead of deleting the library and
    header later)

v5: add option to run script whether to wait after each frame

v6: correct gfx-pps version and add gdb

v7: fix tag for gfx-pps

v8: - when building the container use the user ID and group
      id of the user who runs the container build
    - rework passing command line parameters
    - add a command line parameter to record per-frame
      images
    - Use debugoptimized build for gfx-pps (Tomeu)

v9: disable buffer storage, there seems to be a bug in
    context handling triggered by this

v10: move to upstream kernel 5.9.12

v11: - remove writing txt version of host trace
     - add debug flagto enable tracing EGL
     - don't force-remove libgbm1 it is no longer a problem to
       have it

v12: update kernel to 5.20.5

v13: refactor trace merge (Rohan)

v14: - Fix refactoring (Rohan)
     - Add license infro to perfetto merge script

Signed-off-by: Gert Wollny <[email protected]>
Reviewed-By: Rohan Garg <[email protected]>
2021-01-11 14:47:33 +00:00