Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Dixit, Ashutosh" <ashutosh.dixit@intel.com>
To: Kamil Konieczny <kamil.konieczny@linux.intel.com>,
	"Dixit, Ashutosh" <ashutosh.dixit@intel.com>,
	Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>,
	igt-dev@lists.freedesktop.org
Subject: Re: [PATCH] lib/core: Let ftrace know when the test started
Date: Wed, 18 Dec 2024 11:31:00 -0800	[thread overview]
Message-ID: <85y10c23gr.wl-ashutosh.dixit@intel.com> (raw)
In-Reply-To: <85zfks23i1.wl-ashutosh.dixit@intel.com>

On Wed, 18 Dec 2024 11:30:14 -0800, Dixit, Ashutosh wrote:
>
> On Wed, 18 Dec 2024 11:13:40 -0800, Kamil Konieczny wrote:
> >
> > Hi Dixit,,
> > On 2024-12-17 at 15:19:59 -0800, Dixit, Ashutosh wrote:
> > > On Tue, 17 Dec 2024 10:39:10 -0800, Umesh Nerlige Ramappa wrote:
> > > >
> > > > It's useful to know the start and end of the test in ftrace to be able
> > > > to debug some issues. Not sure where to add igt_trace for end, so
> > > > posting this patch to get some comments.
> > >
> > > Isn't it this (at least looking at dmesg):
> > >
> > > __noreturn static void exit_subtest(const char *result)
> > > {
> > >	...
> > >	igt_kmsg(KMSG_INFO "%s: finished subtest %s, %s\n",
> > >		 command_str, *subtest_name, result);
> >
> > I also think it is already printed in logs.
> > Umesh if you find out cases where it is not please drop a link
> > to CI log(s) to look into.
> >
> > Now that I look at it again the only diff is a place when it is
> > printed, this one is after (dynamic) subtest ends but I still
> > think it is also printed in dmesg before a dynamic subtest starts.
> >
> > For example look into this log:
> > https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_12333/shard-snb5/igt@kms_flip@flip-vs-fences@a-vga1.html
> >
> > there is:
> > <7> [377.462024] i915 0000:00:02.0: [drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR:75:DP-1] disconnected
> > <6> [377.463784] [IGT] kms_flip: starting subtest flip-vs-fences
> > <6> [377.465812] [IGT] kms_flip: starting dynamic subtest A-VGA1
>
> Umesh wants to print in ftrace not dmesg.

Sorry, better to say ftrace as well as dmesg.

  reply	other threads:[~2024-12-18 19:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-17 18:39 [PATCH] lib/core: Let ftrace know when the test started Umesh Nerlige Ramappa
2024-12-17 23:19 ` Dixit, Ashutosh
2024-12-18 19:13   ` Kamil Konieczny
2024-12-18 19:30     ` Dixit, Ashutosh
2024-12-18 19:31       ` Dixit, Ashutosh [this message]
2024-12-20 18:31         ` Kamil Konieczny
2024-12-21  0:56           ` Umesh Nerlige Ramappa

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=85y10c23gr.wl-ashutosh.dixit@intel.com \
    --to=ashutosh.dixit@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=kamil.konieczny@linux.intel.com \
    --cc=umesh.nerlige.ramappa@intel.com \
    /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