linux/tools/perf
Arnaldo Carvalho de Melo eed05fe70f perf tools: Reorganize some structs to save space
Using 'pahole --packable' I found some structs that could be reorganized
to eliminate alignment holes, in some cases getting them to be cacheline
multiples.

[acme@doppio linux-2.6-tip]$ codiff perf.old ~/bin/perf
builtin-annotate.c:
  struct perf_session    |   -8
  struct perf_header     |   -8
 2 structs changed

builtin-diff.c:
  struct sample_data         |   -8
 1 struct changed
  diff__process_sample_event |   -8
 1 function changed, 8 bytes removed, diff: -8

builtin-sched.c:
  struct sched_atom      |   -8
 1 struct changed

builtin-timechart.c:
  struct per_pid         |   -8
 1 struct changed
  cmd_timechart          |  -16
 1 function changed, 16 bytes removed, diff: -16

builtin-probe.c:
  struct perf_probe_point |   -8
  struct perf_probe_event |   -8
 2 structs changed
  opt_add_probe_event     |   -3
 1 function changed, 3 bytes removed, diff: -3

util/probe-finder.c:
  struct probe_finder      |   -8
 1 struct changed
  find_kprobe_trace_events |  -16
 1 function changed, 16 bytes removed, diff: -16

/home/acme/bin/perf:
 4 functions changed, 43 bytes removed, diff: -43
[acme@doppio linux-2.6-tip]$

Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2010-04-08 11:34:26 -03:00
..
Documentation perf probe: Fix --line syntax help and document 2010-04-02 19:35:42 +02:00
bench perf tools: Move the prototypes in util/string.h to util.h 2010-04-03 10:19:26 -03:00
scripts perf/scripts: Add syscall tracing scripts 2010-02-25 04:07:48 +01:00
util perf tools: Reorganize some structs to save space 2010-04-08 11:34:26 -03:00
.gitignore perf: Ignore perf-archive temp file 2010-01-29 10:37:33 +01:00
CREDITS
Makefile Merge branch 'perf/urgent' into perf/core 2010-04-03 18:17:55 +02:00
builtin-annotate.c perf tools: Move the prototypes in util/string.h to util.h 2010-04-03 10:19:26 -03:00
builtin-bench.c
builtin-buildid-cache.c perf buildid-cache: Add new command to manage build-id cache 2010-01-21 08:31:29 +01:00
builtin-buildid-list.c perf build-id: Move the routine to find DSOs with hits to the lib 2010-02-04 09:33:26 +01:00
builtin-diff.c perf session: Change perf_session post processing functions to take histogram tree 2010-03-10 13:53:49 +01:00
builtin-help.c
builtin-kmem.c perf kmem: Fixup the symbol address before using it 2010-04-02 16:28:25 -03:00
builtin-list.c
builtin-lock.c perf lock: Drop the buffers multiplexing dependency 2010-02-27 17:06:19 +01:00
builtin-probe.c perf probe: Fix --line syntax help and document 2010-04-02 19:35:42 +02:00
builtin-record.c perf tools: Move the prototypes in util/string.h to util.h 2010-04-03 10:19:26 -03:00
builtin-report.c perf newt: Pass the input_name to perf_session__browse_hists 2010-04-03 11:54:35 -03:00
builtin-sched.c perf tools: Reorganize some structs to save space 2010-04-08 11:34:26 -03:00
builtin-stat.c perf stat: Better report failure to collect system wide stats 2010-03-22 18:47:35 +01:00
builtin-timechart.c perf tools: Reorganize some structs to save space 2010-04-08 11:34:26 -03:00
builtin-top.c perf record: Zero out mmap_array to fix segfault 2010-03-26 08:52:59 +01:00
builtin-trace.c perf trace: Don't use pager if scripting 2010-03-04 12:19:55 +01:00
builtin.h perf lock: Introduce new tool "perf lock", for analyzing lock statistics 2010-01-31 09:08:26 +01:00
command-list.txt perf lock: Fix and add misc documentally things 2010-02-27 17:05:22 +01:00
design.txt
perf-archive.sh perf archive: Explain how to use the generated tarball 2010-03-23 20:33:08 +01:00
perf.c perf tools: Move the prototypes in util/string.h to util.h 2010-04-03 10:19:26 -03:00
perf.h perf tools: Move __used from perf.h to linux/compiler.h 2010-03-26 08:52:59 +01:00