diff options
| author | Ingo Molnar <[email protected]> | 2016-09-05 15:15:49 +0200 | 
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2016-09-05 15:15:49 +0200 | 
| commit | c0b172e5b6770048751b2c0a4fe44346c2080c5d (patch) | |
| tree | 1a423ca2585eb1aae8d7e96b1bea7d5f3c03280f /tools/perf/arch/sparc | |
| parent | c9bbdd4830ab06288bb1d8c00ed8c8c6e80e377a (diff) | |
| parent | 6243b9dc4c991fe8bdc53a0e029908aef3ddb101 (diff) | |
Merge tag 'perf-core-for-mingo-20160901' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
Pull perf/core improvements and fixes from Arnaldo Carvalho de Melo:
User visible changes:
- Support generating cross arch probes, i.e. if you specify a vmlinux
  file for different arch than the one in the host machine,
	 $ perf probe --definition function_name args
  will generate the probe definition string needed to append to the
  target machine /sys/kernel/debug/tracing/kprobes_events file, using
  scripting (Masami Hiramatsu).
- Make 'perf probe' skip the function prologue in uprobes if program
  compiled without optimization, using the same strategy as gdb and
  systemtap uses, fixing a bug where:
	$ perf probe -x ./test 'foo i'
  When 'foo(42)' was used on the "./test" executable would produce i=0
  instead of the expected i=42 (Ravi Bangoria)
- Demangle symbols for synthesized @plt entries too (Millian Wolff)
Documentation changes:
- Show default report configuration in 'perf config' example
  and docs (Millian Wolff)
Infrastructure changes:
- Make 'perf test vmlinux' tolerate the symbol aliasing pruning done when
  loading kallsyms and vmlinux (Arnaldo Carvalho de Melo)
- Improve output of 'perf test vmlinux' test, to help identify on the verbose
  output which lines are warning and which are errors (Arnaldo Carvalho de Melo)
- Prep work to stop having to pass symbol_filter_t to lots of functions,
  simplifying symtab loading routines (Arnaldo Carvalho de Melo)
- Honor symbol_conf.allow_aliases when loading kallsyms as well, it was using
  it only when loading vmlinux files (Arnaldo Carvalho de Melo)
- Fixup symbol->end before doing alias pruning when loading symbol tables
  (Arnaldo Carvalho de Melo)
- Fix error handling of lzma kernel module decompression (Shawn Lin)
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/arch/sparc')
| -rw-r--r-- | tools/perf/arch/sparc/include/dwarf-regs-table.h | 18 | 
1 files changed, 18 insertions, 0 deletions
| diff --git a/tools/perf/arch/sparc/include/dwarf-regs-table.h b/tools/perf/arch/sparc/include/dwarf-regs-table.h new file mode 100644 index 000000000000..12c07619002c --- /dev/null +++ b/tools/perf/arch/sparc/include/dwarf-regs-table.h @@ -0,0 +1,18 @@ +#ifdef DEFINE_DWARF_REGSTR_TABLE +/* This is included in perf/util/dwarf-regs.c */ + +static const char * const sparc_regstr_tbl[] = { +	"%g0", "%g1", "%g2", "%g3", "%g4", "%g5", "%g6", "%g7", +	"%o0", "%o1", "%o2", "%o3", "%o4", "%o5", "%sp", "%o7", +	"%l0", "%l1", "%l2", "%l3", "%l4", "%l5", "%l6", "%l7", +	"%i0", "%i1", "%i2", "%i3", "%i4", "%i5", "%fp", "%i7", +	"%f0", "%f1", "%f2", "%f3", "%f4", "%f5", "%f6", "%f7", +	"%f8", "%f9", "%f10", "%f11", "%f12", "%f13", "%f14", "%f15", +	"%f16", "%f17", "%f18", "%f19", "%f20", "%f21", "%f22", "%f23", +	"%f24", "%f25", "%f26", "%f27", "%f28", "%f29", "%f30", "%f31", +	"%f32", "%f33", "%f34", "%f35", "%f36", "%f37", "%f38", "%f39", +	"%f40", "%f41", "%f42", "%f43", "%f44", "%f45", "%f46", "%f47", +	"%f48", "%f49", "%f50", "%f51", "%f52", "%f53", "%f54", "%f55", +	"%f56", "%f57", "%f58", "%f59", "%f60", "%f61", "%f62", "%f63", +}; +#endif |