summaryrefslogtreecommitdiff
path: root/docs/u_trace.rst
Commit message (Collapse)AuthorAgeFilesLines
* docs: perfetto -> PerfettoErik Faye-Lund2023-04-261-1/+1
| | | | | Reviewed-by: Eric Engestrom <eric@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22286>
* docs: fix invalid linkLionel Landwerlin2023-03-101-1/+1
| | | | | | Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21648>
* intel/ds: add INTEL_GPU_TRACEPOINT envvar to toggle tracepointsLionel Landwerlin2023-01-131-0/+3
| | | | | | Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16655>
* docs: use envvar directiveErik Faye-Lund2022-11-151-5/+8
| | | | | | | | | When declaring an envvar, we should use the envvar directive, not the envvar role. The latter is meant to reference the declaration, not the other way around. Reviewed-by: Yonggang Luo <luoyonggang@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19593>
* docs: properly nest envvar descriptionsErik Faye-Lund2022-11-151-11/+11
| | | | | | | | These were not nested properly, making the definitions not part of the definition lists. Reviewed-by: Yonggang Luo <luoyonggang@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19593>
* freedreno/cffdec: Add NOP debug messagesMark Collins2022-11-111-0/+3
| | | | | | | | | | | We want to encode special messages into the CS that can be printed by cffdec, these messages have identifiers that describe their usage (message, scope begin and scope end) which allow for an improved trace navigation experience due to the additional information. Signed-off-by: Mark Collins <mark@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18271>
* common/utrace: Add CS logging supportMark Collins2022-11-111-0/+3
| | | | | | | | | | | | | | Viewing CS traces retrieved from the driver is common practice to determine driver bugs but there is no way to determine what function a certain part of the CS was emitted by. This is crucial information to determine what function is responsible for emitting broken CS packets and to help with navigation of the CS trace. Signed-off-by: Mark Collins <mark@igalia.com> Reviewed-by: Danylo Piliaiev <dpiliaiev@igalia.com> Reviewed-by: Yonggang Luo <luoyonggang@gmail.com> Ack-by: Chia-I Wu <olvaffe@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18271>
* common/utrace: Prefix all environment variables with `MESA_`Mark Collins2022-11-111-2/+2
| | | | | | | | | | | | To be more consistent with other environment variables and ensure better scoping, all environment variables in utrace have now been prefixed with `MESA_`. Signed-off-by: Mark Collins <mark@igalia.com> Reviewed-by: Danylo Piliaiev <dpiliaiev@igalia.com> Reviewed-by: Yonggang Luo <luoyonggang@gmail.com> Ack-by: Chia-I Wu <olvaffe@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18271>
* common/utrace: Refactor and combine all envvars into `GPU_TRACES`Mark Collins2022-11-111-17/+16
| | | | | | | | | | | | | | | | All environment variables involved in utrace usage were very fragmented and convoluted to decode the meaning of, this commit has simplified them down into easier to understand flags which directly indicate the resulting behavior (such as `perfetto` enabling queued logs rather than needing to set a `queued` flag) while combining them into a single envvar `GPU_TRACES` and updating existing terminology in utrace to match up with the new options. Signed-off-by: Mark Collins <mark@igalia.com> Reviewed-by: Danylo Piliaiev <dpiliaiev@igalia.com> Reviewed-by: Yonggang Luo <luoyonggang@gmail.com> Ack-by: Chia-I Wu <olvaffe@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18271>
* docs: consistently spell API all-capsErik Faye-Lund2022-10-251-1/+1
| | | | | | | While we're at it, drop an incorrect apostrophe. Reviewed-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19191>
* docs: consistently spell ANV in allcapsErik Faye-Lund2022-10-251-1/+1
| | | | | Reviewed-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19191>
* docs/u_trace: Add documentation for *_GPU_TRACEPOINT envvarsDanylo Piliaiev2022-07-121-0/+19
| | | | | | Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com> Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16781>
* docs/u_trace: document u_trace usageDanylo Piliaiev2022-05-191-0/+43
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16579>