lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 12 Dec 2016 11:35:38 +0100
From:   Jiri Olsa <jolsa@...nel.org>
To:     Arnaldo Carvalho de Melo <acme@...nel.org>
Cc:     lkml <linux-kernel@...r.kernel.org>,
        Ingo Molnar <mingo@...nel.org>,
        Peter Zijlstra <a.p.zijlstra@...llo.nl>,
        Namhyung Kim <namhyung@...nel.org>,
        David Ahern <dsahern@...il.com>
Subject: [PATCH 0/5] perf record: Allow to ignore missing pid

hi,
this patches allows record's -u option to ignore group of
pids, that 'disappear' before perf opens their event.

This currently leads perf to report error and exit.

With this change we will allow this race and ignore such
failure with warning:

  $ perf record -u
  WARNING: Ignored open failure for pid 8605
  ...

and continue monitoring whatever portion of processes
we managed to open.

Plus one extra perf mem fix.

Available also here:
  git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git
  perf/fixes

thanks,
jirka


---
Jiri Olsa (5):
      perf mem: Fix --all-user/--all-kernel options
      perf tools: Use variable instead of repeating lengthy FD macro
      perf tools: Add thread_map__remove function
      perf tools: Allow to ignore missing pid
      perf record: Force ignore_missing_thread for uid option

 tools/perf/builtin-mem.c        |  4 ++--
 tools/perf/builtin-record.c     |  3 +++
 tools/perf/perf.h               |  1 +
 tools/perf/tests/builtin-test.c |  4 ++++
 tools/perf/tests/tests.h        |  1 +
 tools/perf/tests/thread-map.c   | 43 +++++++++++++++++++++++++++++++++++++++++++
 tools/perf/util/evsel.c         | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++--------
 tools/perf/util/evsel.h         |  1 +
 tools/perf/util/thread_map.c    | 22 ++++++++++++++++++++++
 tools/perf/util/thread_map.h    |  1 +
 10 files changed, 131 insertions(+), 10 deletions(-)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ