ksummit.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: ksummit-discuss@lists.linuxfoundation.org
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>,
	Ingo Molnar <mingo@redhat.com>
Subject: [Ksummit-discuss] extended (syscall) error reporting
Date: Mon, 01 Aug 2016 12:34:50 +0200	[thread overview]
Message-ID: <1470047690.3389.30.camel@sipsolutions.net> (raw)

I didn't see this proposed, but I don't think it ever got completely
resolved either?

Tim Bird's note on the "more useful types" thread reminded me of this;
he said something along the lines of "if we knew where each error is
generated, we could more easily identify where a specific error could
have come from."

The extended (syscall) error reporting would also help with that, and
in particular with the netlink functionality there are always a lot of
places that return -EINVAL and you have very little idea of where this
came from. For netlink, there are various avenues of how to address
this, and something special needs to be done there due to the structure
(it's not even returned as an error from a syscall.)

However, it seems worthwhile to have a more general discussion here,
perhaps trying to come up with a general "framework" or "structure"
that everyone could use, regardless of the actual signalling mechanism
towards userspace?

johannes

                 reply	other threads:[~2016-08-01 10:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1470047690.3389.30.camel@sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=alexander.shishkin@linux.intel.com \
    --cc=ksummit-discuss@lists.linuxfoundation.org \
    --cc=mingo@redhat.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