intel/ds: allow user to select metric set at start time
Rather than using always the same metric set, let the user choose when starting the producer with : INTEL_PERFETTO_METRIC_SET=RasterizerAndPixelBackend ./build/src/tool/pps/pps-producer Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Rohan Garg <rohan.garg@intel.com> Acked-by: Antonio Caggiano <antonio.caggiano@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13996>
This commit is contained in:
committed by
Marge Bot
parent
69df00b33b
commit
6eb554a9c7
@@ -154,6 +154,13 @@ Another option to enable access wide data without root permissions would be runn
|
||||
|
||||
Alternatively using the ``CAP_PERFMON`` permission on the binary should work too.
|
||||
|
||||
A particular metric set can also be selected to capture a different
|
||||
set of HW counters :
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
INTEL_PERFETTO_METRIC_SET=RasterizerAndPixelBackend ./build/src/tool/pps/pps-producer
|
||||
|
||||
Panfrost
|
||||
^^^^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user