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:   Tue,  6 Nov 2018 23:07:09 +0200
From:   Adrian Hunter <adrian.hunter@...el.com>
To:     Arnaldo Carvalho de Melo <acme@...nel.org>
Cc:     Jiri Olsa <jolsa@...hat.com>, Andi Kleen <ak@...ux.intel.com>,
        linux-kernel@...r.kernel.org, leo.yan@...aro.org,
        David Miller <davem@...emloft.net>,
        Mathieu Poirier <mathieu.poirier@...aro.org>
Subject: [PATCH V2 0/3] perf tools: Fix for cases where cpumode is incorrect or insufficient

Hi

Here is V2:
These patches probably deal with most cases except the one fixed by David
Miller's "perf callchain: Honour the ordering of
PERF_CONTEXT_{USER,KERNEL,etc}" patch, and also cat_backtrace() which looks
like it has the same problem, and the cs-etm fix.


Changes in V2:
      perf tools: Add fallback functions for cases where cpumode is insufficient
	Rename fallback functions to both end in _fb
	Add and use  variable  machine->single_address_space

      perf tools: Use fallback for sample_addr_correlates_sym() cases
      perf tools: Use fallbacks for branch stacks
	Adjusted for the re-naming above

      perf intel-pt: Insert callchain context into synthesized callchains
      perf intel-pt/bts: Calculate cpumode for synthesized samples
	Dropped because they have been applied


Adrian Hunter (3):
      perf tools: Add fallback functions for cases where cpumode is insufficient
      perf tools: Use fallback for sample_addr_correlates_sym() cases
      perf tools: Use fallbacks for branch stacks

 tools/perf/arch/common.c                           | 10 ++++++++
 tools/perf/arch/common.h                           |  1 +
 tools/perf/builtin-script.c                        | 12 ++++-----
 tools/perf/util/event.c                            | 29 +++++++++++++++++++++-
 tools/perf/util/machine.c                          | 27 ++++++++++++++++++++
 tools/perf/util/machine.h                          |  3 +++
 .../util/scripting-engines/trace-event-python.c    | 16 ++++++------
 tools/perf/util/session.c                          |  4 +++
 tools/perf/util/thread.h                           |  4 +++
 9 files changed, 91 insertions(+), 15 deletions(-)


Regards
Adrian

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ