mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
flash-images: mount debugfs
mount debugfs to allow kernel functions tracing Signed-off-by: Vincent Li <vincent.mc.li@gmail.com>
This commit is contained in:
@@ -40,6 +40,7 @@ IMAGE_FILE = /install/images/$(SNAME)-$(VERSION)-core$(CORE)-$(BUILD_ARCH).img.x
|
||||
|
||||
FSTAB_FMT = UUID=%s %-8s %-4s %-10s %d %d\n
|
||||
BPFFS_FMT = %s %-8s %-4s %-10s %d %d\n
|
||||
DEBUGFS_FMT = %s %-8s %-4s %-10s %d %d\n
|
||||
|
||||
###############################################################################
|
||||
# Top-level Rules
|
||||
@@ -169,6 +170,8 @@ endif
|
||||
|
||||
printf "$(BPFFS_FMT)" "bpffs" "/sys/fs/bpf" \
|
||||
"bpf" "defaults" 0 0 >> $(MNThdd)/etc/fstab
|
||||
printf "$(DEBUGFS_FMT)" "debugfs" "/sys/kernel/debug" \
|
||||
"debugfs" "defaults" 0 0 >> $(MNThdd)/etc/fstab
|
||||
|
||||
ifeq "$(BOOTLOADER)" "grub"
|
||||
# backup defaults file
|
||||
|
||||
Reference in New Issue
Block a user