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

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

 



2020-06-23 12:42 UTC+0200 ~ Tobias Klauser <tklauser@xxxxxxxxxx>
> Define prog_type_name in map.c instead of main.h so it is only defined

s/ map.c / prog.c /
(But not worth a respin in my opinion.)

> 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>



[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