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


Groups > linux.kernel > #1467414

Re: [tip:perf/core] perf/core: Check return value of the perf_event_read() IPI

From Jiri Olsa <jolsa@redhat.com>
Newsgroups linux.kernel
Subject Re: [tip:perf/core] perf/core: Check return value of the perf_event_read() IPI
Date 2016-08-22 09:20 +0200
Message-ID <s8RGx-3cc-3@gated-at.bofh.it> (permalink)
References <s7g6m-6kR-19@gated-at.bofh.it> <s7tdg-75c-27@gated-at.bofh.it> <s8zTk-d9-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun, Aug 21, 2016 at 02:10:07PM +0200, Vegard Nossum wrote:

SNIP

> [<ffffffff816d1577>] ? __fget+0x47/0x270
> [<ffffffff81676d5b>] vfs_readv+0x8b/0xc0
> [<ffffffff81676e6e>] do_readv+0xde/0x230
> [<ffffffff81676d90>] ? vfs_readv+0xc0/0xc0
> [<ffffffff81002b60>] ? exit_to_usermode_loop+0x190/0x190
> [<ffffffff82001b07>] ? check_preemption_disabled+0x37/0x1e0
> [<ffffffff81677617>] SyS_readv+0x27/0x30
> [<ffffffff816775f0>] ? do_pwritev+0x1a0/0x1a0
> [<ffffffff81005524>] do_syscall_64+0x1c4/0x4e0
> [<ffffffff83c3286a>] entry_SYSCALL64_slow_path+0x25/0x25
> 
> I don't think WARN() is the right interface for signalling errors to
> userspace programs?

any special way to trigger that?

thanks,
jirka

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


Thread

[PATCH v3 0/4] remove unnecessary IPI reading uncore events David Carrillo-Cisneros <davidcc@google.com> - 2016-08-17 23:00 +0200
  [PATCH v3 1/4] perf/core: check return value of perf_event_read IPI David Carrillo-Cisneros <davidcc@google.com> - 2016-08-17 23:00 +0200
    [tip:perf/core] perf/core: Check return value of the  perf_event_read() IPI tip-bot for David Carrillo-Cisneros <tipbot@zytor.com> - 2016-08-18 13:00 +0200
      Re: [tip:perf/core] perf/core: Check return value of the  perf_event_read() IPI Vegard Nossum <vegard.nossum@gmail.com> - 2016-08-21 14:20 +0200
        Re: [tip:perf/core] perf/core: Check return value of the  perf_event_read() IPI Jiri Olsa <jolsa@redhat.com> - 2016-08-22 09:20 +0200
          Re: [tip:perf/core] perf/core: Check return value of the  perf_event_read() IPI Jiri Olsa <jolsa@redhat.com> - 2016-08-22 10:30 +0200
            Re: [tip:perf/core] perf/core: Check return value of the  perf_event_read() IPI Jiri Olsa <jolsa@redhat.com> - 2016-08-22 12:40 +0200
  [PATCH v3 3/4] perf/core: introduce PMU_EV_CAP_READ_ACTIVE_PKG David Carrillo-Cisneros <davidcc@google.com> - 2016-08-17 23:00 +0200
    [tip:perf/core] perf/core: Introduce PMU_EV_CAP_READ_ACTIVE_PKG tip-bot for David Carrillo-Cisneros <tipbot@zytor.com> - 2016-08-18 13:50 +0200

csiph-web