Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1238274

Re: [PATCH v2 2/2] perf tools: report PERF_FLAG_FD_CLOEXEC probing error once

From Yann Droneaud <ydroneaud@opteya.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 2/2] perf tools: report PERF_FLAG_FD_CLOEXEC probing error once
Date 2015-10-02 15:50 +0200
Message-ID <qf8SM-4YE-83@gated-at.bofh.it> (permalink)
References <qeNOi-8mD-15@gated-at.bofh.it> <qeNOi-8mD-19@gated-at.bofh.it> <qf8SM-4YE-85@gated-at.bofh.it>
Organization OPTEYA

Show all headers | View raw


Le vendredi 02 octobre 2015 à 15:20 +0200, Jiri Olsa a écrit :
> On Thu, Oct 01, 2015 at 05:16:26PM +0200, Yann Droneaud wrote:
> > In case of failure, unrelated to PERF_FLAG_FD_CLOEXEC,
> > perf_flag_probe() reports the error twice. For example:
> > 
> >   $ perf record ls
> >   Error:
> >   perf_event_open(..., PERF_FLAG_FD_CLOEXEC) failed with unexpected
> > error 16 (Device or resource busy)
> >   perf_event_open(..., 0) failed unexpectedly with error 16 (Device
> > or resource busy)
> 
> so this error message is no longer possible due to your earlier patch
> right?
> 

My bad, the error used to illustrate the behavior is not well choosed. 

> could you please provide current 'before&after' output into changelog
> otherwise it looks ok 
> 

OK. I'm updating the message.

Regards.

-- 
Yann Droneaud
OPTEYA


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/2] perf tool: improve error handling in perf_flag_probe() Yann Droneaud <ydroneaud@opteya.com> - 2015-10-01 17:20 +0200
  [PATCH v2 2/2] perf tools: report PERF_FLAG_FD_CLOEXEC probing error once Yann Droneaud <ydroneaud@opteya.com> - 2015-10-01 17:20 +0200
    Re: [PATCH v2 2/2] perf tools: report PERF_FLAG_FD_CLOEXEC probing  error once Yann Droneaud <ydroneaud@opteya.com> - 2015-10-02 15:50 +0200
  [PATCH v2 1/2] perf tools: shortcut PERF_FLAG_FD_CLOEXEC probing in case of EBUSY error Yann Droneaud <ydroneaud@opteya.com> - 2015-10-01 17:20 +0200
    Re: [PATCH v2 1/2] perf tools: shortcut PERF_FLAG_FD_CLOEXEC  probing in case of EBUSY error Yann Droneaud <ydroneaud@opteya.com> - 2015-10-01 23:40 +0200
      Re: [PATCH v2 1/2] perf tools: shortcut PERF_FLAG_FD_CLOEXEC probing  in case of EBUSY error Jiri Olsa <jolsa@redhat.com> - 2015-10-02 15:20 +0200

csiph-web