linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] perf record: Allow to ignore missing pid
@ 2016-12-12 10:35 Jiri Olsa
  2016-12-12 10:35 ` [PATCH 1/5] perf mem: Fix --all-user/--all-kernel options Jiri Olsa
                   ` (4 more replies)
  0 siblings, 5 replies; 23+ messages in thread
From: Jiri Olsa @ 2016-12-12 10:35 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: lkml, Ingo Molnar, Peter Zijlstra, Namhyung Kim, David Ahern

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(-)

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2016-12-20 19:25 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-12 10:35 [PATCH 0/5] perf record: Allow to ignore missing pid Jiri Olsa
2016-12-12 10:35 ` [PATCH 1/5] perf mem: Fix --all-user/--all-kernel options Jiri Olsa
2016-12-12 13:43   ` Arnaldo Carvalho de Melo
2016-12-12 13:44     ` Jiri Olsa
2016-12-20 19:23   ` [tip:perf/urgent] " tip-bot for Jiri Olsa
2016-12-12 10:35 ` [PATCH 2/5] perf tools: Use variable instead of repeating lengthy FD macro Jiri Olsa
2016-12-20 19:23   ` [tip:perf/urgent] perf evsel: " tip-bot for Jiri Olsa
2016-12-12 10:35 ` [PATCH 3/5] perf tools: Add thread_map__remove function Jiri Olsa
2016-12-12 20:08   ` Arnaldo Carvalho de Melo
2016-12-12 20:21     ` Arnaldo Carvalho de Melo
2016-12-20 19:24   ` [tip:perf/urgent] perf thread_map: " tip-bot for Jiri Olsa
2016-12-12 10:35 ` [PATCH 4/5] perf tools: Allow to ignore missing pid Jiri Olsa
2016-12-12 14:32   ` Arnaldo Carvalho de Melo
2016-12-12 14:33     ` Arnaldo Carvalho de Melo
2016-12-12 14:53     ` Jiri Olsa
2016-12-12 15:21       ` Arnaldo Carvalho de Melo
2016-12-12 15:38         ` Jiri Olsa
2016-12-12 19:30           ` Arnaldo Carvalho de Melo
2016-12-12 16:58   ` Namhyung Kim
2016-12-13  7:46     ` [PATCHv2 " Jiri Olsa
2016-12-20 19:24       ` [tip:perf/urgent] perf evsel: " tip-bot for Jiri Olsa
2016-12-12 10:35 ` [PATCH 5/5] perf record: Force ignore_missing_thread for uid option Jiri Olsa
2016-12-20 19:25   ` [tip:perf/urgent] " tip-bot for Jiri Olsa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).