Enable more perf capabilities
- enable schedstats - allows for more perf events like
`sched:sched_stat_sleep` and `sched:sched_stat_iowait`
- enable kernel auditing - allows using `perf trace` - depends on
BR2_PACKAGE_AUDIT
- enable perf.data compression - allows using the `-z` switch - depends
on BR2_PACKAGE_ZSTD
Changes I made to the buildroot submodule:
1) Update to the latest `next` branch. That branch includes patches
which enable additional optional dependencies for perf.
2) Rebase our specific patches on top of the `next` branch.
3) Cherry-pick a fix for a regression from the `master` branch.
Change-Id: I2925b37f31284509d2396a33b9d94116f4249ccb
diff --git a/board/czechlight/clearfog/boot.scr.txt b/board/czechlight/clearfog/boot.scr.txt
index bf45913..5fd6e95 100644
--- a/board/czechlight/clearfog/boot.scr.txt
+++ b/board/czechlight/clearfog/boot.scr.txt
@@ -7,7 +7,7 @@
i2c mw 0x60 0x0a 0x80
i2c mw 0x60 0x0b 0x80
i2c mw 0x60 0x0c 0x80
-setenv bootargs root=/dev/mmcblk0p${rauc_part} init=/sbin/init-czechlight.sh rauc.slot=${rauc_slot} czechlight=${czechlight} systemd.machine_id=${machineid} panic=10 oops=panic spidev.bufsiz=65535
+setenv bootargs root=/dev/mmcblk0p${rauc_part} init=/sbin/init-czechlight.sh rauc.slot=${rauc_slot} czechlight=${czechlight} systemd.machine_id=${machineid} panic=10 oops=panic spidev.bufsiz=65535 schedstats=enable
if test -n ${czechlight} && load mmc 0:${rauc_part} ${fdt_addr_r} /boot/${czechlight}-clearfog.dtb; then
echo "DTS: ${czechlight}-clearfog"
else