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, 28 Apr 2015 17:35:33 +0530
From:	"Naveen N. Rao" <naveen.n.rao@...ux.vnet.ibm.com>
To:	acme@...nel.org
Cc:	masami.hiramatsu.pt@...achi.com, ananth@...ibm.com,
	mpe@...erman.id.au, sukadev@...ux.vnet.ibm.com,
	srikar@...ux.vnet.ibm.com, linux-kernel@...r.kernel.org,
	linuxppc-dev@...ts.ozlabs.org
Subject: [PATCH v3 0/7] Fixes for perf probe issues on ppc

This patchset fixes various issues with perf probe on powerpc across ABIv1 and
ABIv2:
- in the presence of DWARF debug-info,
- in the absence of DWARF, but with the symbol table, and
- in the absence of debug-info, but with kallsyms.

Arnaldo,
I have moved all patches to use __weak functions. Kindly take a look and let me
know if this is what you had in mind.

Thanks!
- Naveen

----
Changes since v2:
The primary change is with the use of __weak functions instead of compiler
macros. Along with that, I have also addressed all previous review comments
(*). Individual patches have the detailed changelog. Please note that I have
dropped the first (kernel) patch from the last series since it has been pushed
upstream. This series now only includes the rest of the patches.

(*) http://thread.gmane.org/gmane.linux.kernel/1851128



Naveen N. Rao (7):
  perf probe: Improve detection of file/function name in the probe
    pattern
  perf probe/ppc: Fix symbol fixup issues due to ELF type
  perf probe/ppc: Use the right prefix when ignoring SyS symbols on ppc
  perf probe/ppc: Enable matching against dot symbols automatically
  perf probe/ppc64le: Fix ppc64 ABIv2 symbol decoding
  perf probe/ppc64le: Prefer symbol table lookup over DWARF
  perf probe/ppc64le: Fixup function entry if using kallsyms lookup

 tools/perf/arch/powerpc/util/Build          |  1 +
 tools/perf/arch/powerpc/util/sym-handling.c | 80 +++++++++++++++++++++++++++++
 tools/perf/util/map.c                       |  5 ++
 tools/perf/util/map.h                       |  3 +-
 tools/perf/util/probe-event.c               | 42 +++++++++++++--
 tools/perf/util/probe-event.h               |  3 ++
 tools/perf/util/symbol-elf.c                | 12 ++++-
 tools/perf/util/symbol.c                    | 25 +++++----
 tools/perf/util/symbol.h                    | 10 ++++
 9 files changed, 164 insertions(+), 17 deletions(-)
 create mode 100644 tools/perf/arch/powerpc/util/sym-handling.c

-- 
2.3.5

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