All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Wilson <chris@chris-wilson.co.uk>
To: Abdiel Janulgue <abdiel.janulgue@linux.intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [i-g-t PATCH v2 1/4] lib/igt_core: Add igt_exec helpers
Date: Tue, 30 May 2017 11:55:08 +0100	[thread overview]
Message-ID: <20170530105508.GG23936@nuc-i3427.alporthouse.com> (raw)
In-Reply-To: <47bb4176-0895-4813-d563-21e7b1c955de@linux.intel.com>

On Tue, May 30, 2017 at 01:31:46PM +0300, Abdiel Janulgue wrote:
> 
> 
> On 29.05.2017 16:01, Chris Wilson wrote:
> > On Mon, May 29, 2017 at 03:08:07PM +0300, Abdiel Janulgue wrote:
> >> Support executing external processes with the goal of capturing its
> >> standard streams to the igt logging infrastructure in addition to its
> >> exit status.
> > 
> > This is not an exec wrapper. This is a system() replacement. That it
> > invokes shell to evaluate the cmd should be front and centre.
> > 
> 
> The problem with system() is that it waits until the process is
> completed. If the process' output is more than PIPE_BUF, it'll block. Do
> you have any suggestions?

I'm just saying the name is misleading. igt_system() and explain the
improvements (concurrency and accessible piped output).
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

      reply	other threads:[~2017-05-30 10:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-29 12:08 [i-g-t PATCH v2 1/4] lib/igt_core: Add igt_exec helpers Abdiel Janulgue
2017-05-29 12:08 ` [i-g-t PATCH v2 2/4] igt/igt_core: Provide an option to check for the log buffer contents Abdiel Janulgue
2017-05-29 12:08 ` [i-g-t PATCH v2 3/4] Convert shell script tests to C version Abdiel Janulgue
2017-05-29 13:00   ` Chris Wilson
2017-05-29 12:08 ` [i-g-t PATCH v2 4/4] Convert ddx_intel_after_fbdev to C Abdiel Janulgue
2017-05-29 13:07   ` Chris Wilson
2017-05-29 13:01 ` [i-g-t PATCH v2 1/4] lib/igt_core: Add igt_exec helpers Chris Wilson
2017-05-30 10:31   ` Abdiel Janulgue
2017-05-30 10:55     ` Chris Wilson [this message]

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=20170530105508.GG23936@nuc-i3427.alporthouse.com \
    --to=chris@chris-wilson.co.uk \
    --cc=abdiel.janulgue@linux.intel.com \
    --cc=intel-gfx@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.