Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] lib/igt_core: add timestamps to error logs
@ 2026-05-11 12:55 Andrzej Hajda
  2026-05-11 12:55 ` [PATCH v3 1/2] lib/igt_core: do not reset errno in igt_gettime Andrzej Hajda
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Andrzej Hajda @ 2026-05-11 12:55 UTC (permalink / raw)
  To: igt-dev
  Cc: Kamil Konieczny, Ryszard Knop, Stuart Summers, Jari Tahvanainen,
	Mateusz Grabski, Andrzej Hajda

This patchset adds timestamps to error logs in IGT.
One of side effects of adding timestamps is detection by CI of previously
hidden errors in errno handling. Patch preventing such situation has been added.
Since correcting errno handling requires multiple, sometimes subtle, fixes,
this task will be done in separate patchset.

Signed-off-by: Andrzej Hajda <andrzej.hajda@intel.com>
---
Changes in v3:
- added patch avoid errno resetting in igt_gettime
- dropped errno fixes - they will be handled with separate patchset
- Link to v2: https://patch.msgid.link/20260507-add_timestamps_to_logs-v2-0-9591e90e0a6a@intel.com

Changes in v2:
- added fixes to errno handling
- adjusted format string to be the same as in dmesg
- Link to v1: https://patch.msgid.link/20260505-add_timestamps_to_logs-v1-1-2d95f499fdfb@intel.com

---
Andrzej Hajda (2):
      lib/igt_core: do not reset errno in igt_gettime
      lib/igt_core: add timestamps to error logs

 lib/igt_core.c | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)
---
base-commit: c186075d9363a80e4a7469aeb64f08714c8dc1e9
change-id: 20260430-add_timestamps_to_logs-d84fdfd7ef4c

Best regards,
--  
Andrzej Hajda <andrzej.hajda@intel.com>


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-05-12 18:58 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-11 12:55 [PATCH v3 0/2] lib/igt_core: add timestamps to error logs Andrzej Hajda
2026-05-11 12:55 ` [PATCH v3 1/2] lib/igt_core: do not reset errno in igt_gettime Andrzej Hajda
2026-05-11 15:05   ` Knop, Ryszard
2026-05-11 12:55 ` [PATCH v3 2/2] lib/igt_core: add timestamps to error logs Andrzej Hajda
2026-05-11 14:35   ` Knop, Ryszard
2026-05-12  3:59 ` ✓ i915.CI.BAT: success for lib/igt_core: add timestamps to error logs (rev2) Patchwork
2026-05-12  5:43 ` ✓ Xe.CI.BAT: " Patchwork
2026-05-12 11:20 ` ✓ Xe.CI.FULL: " Patchwork
2026-05-12 17:20 ` ✗ i915.CI.Full: failure " Patchwork
2026-05-12 18:58   ` Hajda, Andrzej

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox