[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1411060059-23589-1-git-send-email-yarygin@linux.vnet.ibm.com>
Date: Thu, 18 Sep 2014 21:07:37 +0400
From: Alexander Yarygin <yarygin@...ux.vnet.ibm.com>
To: linux-kernel@...r.kernel.org
Cc: Alexander Yarygin <yarygin@...ux.vnet.ibm.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Christian Borntraeger <borntraeger@...ibm.com>,
David Ahern <dsahern@...il.com>,
Frederic Weisbecker <fweisbec@...il.com>,
Ingo Molnar <mingo@...nel.org>, Jiri Olsa <jolsa@...hat.com>,
Mike Galbraith <efault@....de>,
Namhyung Kim <namhyung.kim@....com>,
Paul Mackerras <paulus@...ba.org>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Stephane Eranian <eranian@...gle.com>
Subject: [PATCH 0/2] perf kvm stat live: Copy events
Hello,
This is a second attempt to fix 'perf kvm stat live' crash when it tries
to parse events that have been already overwritten by the kernel.
Previous thread: https://lkml.org/lkml/2014/9/12/450
Patches
- 1/2 is patch by David Ahern (https://lkml.org/lkml/2013/9/6/388)
rebased to the current upstream (hope I did it right). It adds an option
to copy events when they are pushed to the samples queue.
- 2/2 enables the copying for perf kvm stat live.
Looks like we have to live with possibility to get thousands malloc()s/free()s
per second...
Alexander Yarygin (2):
perf session: Add option to copy events when queueing
perf kvm stat live: Enable events copying
tools/perf/builtin-kvm.c | 1 +
tools/perf/util/ordered-events.c | 12 +++++++++---
tools/perf/util/ordered-events.h | 2 +-
tools/perf/util/session.c | 12 +++++++++---
tools/perf/util/session.h | 1 +
5 files changed, 21 insertions(+), 7 deletions(-)
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists