Re: [PATCH bpf-next v3 1/2] tools, bpftool: Define prog_type_name array only once

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/24/20 4:31 PM, Tobias Klauser wrote:
Define prog_type_name in prog.c instead of main.h so it is only defined
once. This leads to a slight decrease in the binary size of bpftool.

Before:

    text	   data	    bss	    dec	    hex	filename
  401032	  11936	1573160	1986128	 1e4e50	bpftool

After:

    text	   data	    bss	    dec	    hex	filename
  399024	  11168	1573160	1983352	 1e4378	bpftool

Reviewed-by: Quentin Monnet <quentin@xxxxxxxxxxxxx>
Signed-off-by: Tobias Klauser <tklauser@xxxxxxxxxx>

Both applied, thanks!



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux