]> Git Repo - linux.git/commit - scripts/bloat-o-meter
bloat-o-meter: provide 3 different arguments for data, function and All
authorManinder Singh <[email protected]>
Thu, 16 Nov 2017 01:31:14 +0000 (17:31 -0800)
committerLinus Torvalds <[email protected]>
Thu, 16 Nov 2017 02:21:00 +0000 (18:21 -0800)
commit192efb7a1f9b69ce2ec1212ee8c24fb9b4a80a35
treeba8f7165c06e48e04a914c23e1ba71f0b17015a9
parentc9b012e5f4a1d01dfa8abc6318211a67ba7d5db2
bloat-o-meter: provide 3 different arguments for data, function and All

This patch provides 3 new arguments for bloat-o-meter
 1) -c -> for all (showing function and data differently)
 2) -d -> data
 3) -t -> function

output:

  ./scripts/bloat-o-meter  -c "file1" "file2"
  add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-152 (-152)
  Function                                     old     new   delta
  main                                         412     260    -152
  Total: Before=548, After=396, chg -27.74%
  ##########################################################
  add/remove: 1/0 grow/shrink: 1/0 up/down: 84/0 (84)
  Data                                         old     new   delta
  arr                                            -      64     +64
  backtrace                                     60      80     +20
  Total: Before=109, After=193, chg +77.06%
  ##########################################################
  add/remove: 0/1 grow/shrink: 0/0 up/down: 0/-64 (-64)
  RO Data                                      old     new   delta
  arr                                           64       -     -64
  Total: Before=68, After=4, chg -94.12%

[[email protected]: v1 -> v2]
Link: http://lkml.kernel.org/r/[email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Vaneet Narang <[email protected]>
Signed-off-by: Maninder Singh <[email protected]>
Cc: Amit Sahrawat <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Michal Marek <[email protected]>
Cc: <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
scripts/bloat-o-meter
This page took 0.056894 seconds and 4 git commands to generate.