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:	Wed, 31 Jul 2013 00:13:49 +0300
From:	Adrian Hunter <adrian.hunter@...el.com>
To:	Arnaldo Carvalho de Melo <acme@...stprotocols.net>
Cc:	linux-kernel@...r.kernel.org, David Ahern <dsahern@...il.com>,
	Frederic Weisbecker <fweisbec@...il.com>,
	Jiri Olsa <jolsa@...hat.com>, Mike Galbraith <efault@....de>,
	Namhyung Kim <namhyung@...il.com>,
	Paul Mackerras <paulus@...ba.org>,
	Peter Zijlstra <peterz@...radead.org>,
	Stephane Eranian <eranian@...gle.com>,
	Ingo Molnar <mingo@...nel.org>
Subject: [PATCH V2 0/9] perf tools: add support for reading object code

Hi

Here are some patches that add support for reading object code from vmlinux,
kernel modules and /proc/kcore.

Changes in V2:
	Re-based on Arnaldo's tree's perf/core branch

	perf tools: add test for reading object code
		Use strchr in read_objdump_line()
		Remove unused return value of read_objdump_line()
		Fix double space before "cycles:u"
		Add missing perf_evlist__delete(evlist) in do_test_code_reading()
	perf tools: load kernel maps before using
		Correct spelling of "initialization" in commit message
	perf tools: add support for reading from /proc/kcore
		Do not test kallsyms filename for host buildid because
		/proc/kallsyms is always used if the dso buildid matches
		the host
	perf tools: add kcore to the object code reading test
		Remove redundant "else if (!have_kcore && try_kcore)" clause


Adrian Hunter (9):
      perf tools: add test for reading object code
      perf tools: load kernel maps before using
      perf tools: make it possible to read object code from vmlinux
      perf tools: adjust the vmlinux symtab matches kallsyms test                                                                   
      perf tools: avoid SyS kernel syscall aliases                                                                                  
      perf tools: make it possible to read object code from kernel modules                                                          
      perf tools: add support for reading from /proc/kcore                                                                          
      perf tools: add kcore to the object code reading test                                                                         
      perf tools: allow annotation using /proc/kcore                                                                                
                                                                                                                                    
 tools/perf/Makefile                 |   1 +                                                                                        
 tools/perf/builtin-inject.c         |   2 +-                                                                                       
 tools/perf/builtin-script.c         |   4 +-                                                                                       
 tools/perf/builtin-top.c            |   3 +-                                                                                       
 tools/perf/tests/builtin-test.c     |   4 +                                                                                        
 tools/perf/tests/code-reading.c     | 556 ++++++++++++++++++++++++++++++++++++                                                     
 tools/perf/tests/tests.h            |   1 +                                                                                        
 tools/perf/tests/vmlinux-kallsyms.c |  32 ++-                                                                                      
 tools/perf/util/annotate.c          |  13 +-                                                                                       
 tools/perf/util/build-id.c          |   2 +-                                                                                       
 tools/perf/util/dso.c               |  10 +-                                                                                       
 tools/perf/util/dso.h               |  17 ++                                                                                       
 tools/perf/util/event.c             |  18 +-                                                                                       
 tools/perf/util/machine.c           |  20 +-                                                                                       
 tools/perf/util/map.c               |  67 ++---                                                                                    
 tools/perf/util/map.h               |  13 +                                                                                        
 tools/perf/util/symbol-elf.c        | 166 ++++++++++-                                                                              
 tools/perf/util/symbol-minimal.c    |   7 +                                                                                        
 tools/perf/util/symbol.c            | 273 ++++++++++++++++--                                                                       
 tools/perf/util/symbol.h            |   5 +
 tools/perf/util/thread.h            |   2 +-
 tools/perf/util/unwind.c            |   4 +-
 22 files changed, 1120 insertions(+), 100 deletions(-)
 create mode 100644 tools/perf/tests/code-reading.c


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