From: Steven Rostedt <rostedt@goodmis.org>
To: Jan Kiszka <jan.kiszka@web.de>
Cc: David Ahern <dsahern@gmail.com>,
LKML <linux-kernel@vger.kernel.org>,
KVM mailing list <kvm@vger.kernel.org>
Subject: Re: trace-cmd errors on kvm events
Date: Thu, 21 Apr 2011 17:37:24 -0400 [thread overview]
Message-ID: <20110421213724.GD24898@home.goodmis.org> (raw)
In-Reply-To: <4D9F790B.2000300@web.de>
On Fri, Apr 08, 2011 at 11:07:23PM +0200, Jan Kiszka wrote:
> On 2011-04-08 20:53, David Ahern wrote:
> > 2.6.38.2 kernel with trace-cmd git pulled this morning:
> >
> > trace-cmd record -e kvm
> >
> > trace-cmd report 2>&1 | less
> >
> > trace-cmd: No such file or directory
>
> Does this error come from trace-cmd failing to find its kvm plugin?
> Check what strace -e open says.
>
I need to spend some time and fix it. That "No such file or directory"
is from the way trace-cmd does error handling. It checks if errno is set
and if so, it prints out perror(). What usually happens is I do a stat()
on a file which sets errno, and forget about it. Then if trace-cmd finds
some internal error, it calls the warning() message, which then prints
out the stale errno.
-- Steve
prev parent reply other threads:[~2011-04-21 21:37 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-08 18:53 trace-cmd errors on kvm events David Ahern
2011-04-08 20:50 ` Stefan Hajnoczi
2011-04-08 20:59 ` David Ahern
2011-04-08 21:07 ` Jan Kiszka
2011-04-08 21:12 ` David Ahern
2011-04-08 21:18 ` Jan Kiszka
2011-04-08 23:26 ` David Ahern
2011-04-08 23:42 ` Jan Kiszka
2011-04-08 23:58 ` David Ahern
2011-04-21 21:37 ` Steven Rostedt [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=20110421213724.GD24898@home.goodmis.org \
--to=rostedt@goodmis.org \
--cc=dsahern@gmail.com \
--cc=jan.kiszka@web.de \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.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