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]
Message-Id: <1435927962-32417-1-git-send-email-adrian.hunter@intel.com>
Date:	Fri,  3 Jul 2015 15:52:38 +0300
From:	Adrian Hunter <adrian.hunter@...el.com>
To:	Peter Zijlstra <peterz@...radead.org>
Cc:	Andi Kleen <ak@...ux.intel.com>,
	Arnaldo Carvalho de Melo <acme@...nel.org>,
	Ingo Molnar <mingo@...nel.org>, linux-kernel@...r.kernel.org,
	Jiri Olsa <jolsa@...hat.com>,
	Stephane Eranian <eranian@...gle.com>,
	mathieu.poirier@...aro.org, Pawel Moll <pawel.moll@....com>
Subject: [RFC V2 PATCH 0/4] perf: Add PERF_RECORD_SWITCH to indicate context switches

Hi

Here is another look at PERF_RECORD_SWITCH.
The event now shows scheduling in and out,
and I added next/prev pid/tid for cpu-wide
contexts, plus there are some tools patches
that apply to Arnaldo's perf/core branch.


Adrian Hunter (4):
      perf: Add PERF_RECORD_SWITCH to indicate context switches
      perf tools: Add new PERF_RECORD_SWITCH event
      perf record: Add option --switch-events to select PERF_RECORD_SWITCH events
      perf script: Add option --show-switch-events

 include/uapi/linux/perf_event.h          |  20 +++++-
 kernel/events/core.c                     | 102 +++++++++++++++++++++++++++++++
 tools/perf/Documentation/perf-record.txt |   3 +
 tools/perf/Documentation/perf-script.txt |   3 +
 tools/perf/builtin-inject.c              |   1 +
 tools/perf/builtin-record.c              |   7 +++
 tools/perf/builtin-script.c              |  31 ++++++++++
 tools/perf/perf.h                        |   1 +
 tools/perf/util/event.c                  |  26 ++++++++
 tools/perf/util/event.h                  |  12 ++++
 tools/perf/util/evlist.h                 |   1 +
 tools/perf/util/evsel.c                  |   4 ++
 tools/perf/util/machine.c                |  10 +++
 tools/perf/util/machine.h                |   2 +
 tools/perf/util/record.c                 |  10 +++
 tools/perf/util/session.c                |  16 +++++
 tools/perf/util/tool.h                   |   1 +
 17 files changed, 249 insertions(+), 1 deletion(-)


Regards
Adrian
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ