public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Alan Previn <alan.previn.teres.alexis@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t v2 00/11] Resurrect GuC Relay Logging
Date: Tue,  6 Dec 2022 00:58:38 -0800	[thread overview]
Message-ID: <20221206085849.271505-1-alan.previn.teres.alexis@intel.com> (raw)

This series brings GuC relay logging back to life by
re-aligning the (previously implicit, now query-able)
guc-log-relay subbuffer-specs, debugfs file handle names
and usages between intel_guc_logger tool and i915.

This series depends on fixes and updates on the
kernel side via this series:
https://patchwork.freedesktop.org/series/103767/

Changes from prio revs:
   v1: - With MTL and multi-tile, add support for GT-ID
         selection for GuC logging.
       - Add new design changes to flusher thread to do
         decoding of the GuC log buffer header data and
         unwrap all head-->tail regions into a linear
         sequence so we can concatenate the GuC log outoput
         file to make it look like a single large contiguous
         GuC Log buffer (as it it came direct from memory).
         This was a design miss from original code and is
         needed to ensure internal tools can decode the logs. 


Alan Previn (11):
  tools/intel_guc_logger: Re-enable basic functionality
  tools/intel_guc_logger: Refactor intel_guc_logger globals into structs
  tools/intel_guc_logger: Add GT-ID selection for intel_guc_logger
  tools/intel_guc_logger: Add helper function for flusher code
  tools/intel_guc_logger: Add GuC Log header structure definition
  tools/intel_guc_logger: Concatenate log samples into a contiguous
    file.
  tools/intel_guc_logger: Add overflow awareness.
  tools/intel_guc_logger: Limit relay logging output file to 4GB.
  tools/intel_guc_logger: By default don't change GuC log verbosity
  tools/intel_guc_logger: On exit, save any leftover GuC log data
  tools/intel_guc_logger: Add useful debug messages

 tools/intel_guc_logger.c | 851 +++++++++++++++++++++++++++++++--------
 1 file changed, 674 insertions(+), 177 deletions(-)


base-commit: c001793d5f22deb01918b6ba52af829794582df1
-- 
2.34.1

             reply	other threads:[~2022-12-06  8:55 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-06  8:58 Alan Previn [this message]
2022-12-06  8:58 ` [igt-dev] [PATCH i-g-t v2 01/11] tools/intel_guc_logger: Re-enable basic functionality Alan Previn
2023-01-20 20:26   ` [igt-dev] [i-g-t, v2, " Dong, Zhanjun
2023-03-14 21:46     ` Teres Alexis, Alan Previn
2022-12-06  8:58 ` [igt-dev] [PATCH i-g-t v2 02/11] tools/intel_guc_logger: Refactor intel_guc_logger globals into structs Alan Previn
2023-02-01  0:04   ` [igt-dev] [i-g-t, v2, " Dong, Zhanjun
2023-03-14 21:47     ` Teres Alexis, Alan Previn
2022-12-06  8:58 ` [igt-dev] [PATCH i-g-t v2 03/11] tools/intel_guc_logger: Add GT-ID selection for intel_guc_logger Alan Previn
2023-03-14 21:54   ` Teres Alexis, Alan Previn
2022-12-06  8:58 ` [igt-dev] [PATCH i-g-t v2 04/11] tools/intel_guc_logger: Add helper function for flusher code Alan Previn
2022-12-06  8:58 ` [igt-dev] [PATCH i-g-t v2 05/11] tools/intel_guc_logger: Add GuC Log header structure definition Alan Previn
2022-12-06  8:58 ` [igt-dev] [PATCH i-g-t v2 06/11] tools/intel_guc_logger: Concatenate log samples into a contiguous file Alan Previn
2022-12-06  8:58 ` [igt-dev] [PATCH i-g-t v2 07/11] tools/intel_guc_logger: Add overflow awareness Alan Previn
2022-12-06  8:58 ` [igt-dev] [PATCH i-g-t v2 08/11] tools/intel_guc_logger: Limit relay logging output file to 4GB Alan Previn
2022-12-06  8:58 ` [igt-dev] [PATCH i-g-t v2 09/11] tools/intel_guc_logger: By default don't change GuC log verbosity Alan Previn
2022-12-06  8:58 ` [igt-dev] [PATCH i-g-t v2 10/11] tools/intel_guc_logger: On exit, save any leftover GuC log data Alan Previn
2022-12-06  8:58 ` [igt-dev] [PATCH i-g-t v2 11/11] tools/intel_guc_logger: Add useful debug messages Alan Previn
2022-12-06  9:41 ` [igt-dev] ✓ Fi.CI.BAT: success for Resurrect GuC Relay Logging (rev2) Patchwork
2022-12-06 11:27 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221206085849.271505-1-alan.previn.teres.alexis@intel.com \
    --to=alan.previn.teres.alexis@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox