Skip to contentSkip to conversation

Using KSize.py

DISCUSSION [email protected] 2 participants 2 messages Jan 31, 2022 – Feb 1, 2022

lore
Share & tools
lore
#0 lore raw

The folder I run bitbake from is called build-fb. I am trying to use ksize.py. When I run it I get all 0's. What folder do I run this from?

#1 lore raw

Hi Michael

Quoted 3 lines · On 1/31/22 21:46, [email protected] wrote:

The folder I run bitbake from is called build-fb. I am trying to use ksize.py. When I run it I get all 0's. What folder do I run this from?

You get the answer by running the script with the "-h" option:

 /media/mike/ssd/yocto/poky/scripts/tiny/ksize.py -h
Usage: ksize.py [OPTION]...
  -d,                 display an additional level of drivers detail -h, --help          display this help and exit

Run ksize.py from the top-level Linux kernel build directory. See also
https://docs.yoctoproject.org/dev-manual/common-tasks.html#trim-the-kernel .

Cheers
Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com