This is the setup pre-amble for the diagram and graph generation. The
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Thought 59.77 s | |
| The user wants to call a function on entry to the main hubi transient. | |
| Looking at the transient-define-prefix hubi () definition, there isn't an obvious hook or slot to run a function when the transient is invoked. | |
| However, the user says "Can I call something once on entry to the main hubi transient to set values if they are in fact null - ideally by loading from dir locals." | |
| The problem is that .dir-locals.el are applied when a file is visited. If the user is in a buffer that is not visiting a file in the project (e.g. mu4e-headers), the dir-locals for that project won't have been applied. However, default-directory might point into the project. | |
| The user mentions a hack to hubi--show-compile that didn't work because they need to set defaults based on .dir-locals. This suggests that hubi--show-current-compile is a place where we could put some logic. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ./qemu-system-aarch64 -serial mon:stdio \ | |
| -machine type=virt,virtualization=on,pflash0=rom,pflash1=efivars,gic-version=max \ | |
| -cpu neoverse-n1 -smp 4 -accel tcg \ | |
| -device virtio-net-pci,netdev=unet \ | |
| -device virtio-scsi-pci \ | |
| -device scsi-hd,drive=amazon \ | |
| -netdev user,id=unet,hostfwd=tcp::2222-:22 \ | |
| -blockdev driver=qcow2,node-name=amazon,file.driver=file,file.filename=/home/alex/images/al2023-kvm-2023.7.20250623.1-kernel-6.1-arm64.xfs.gpt.qcow2 \ | |
| -blockdev node-name=rom,driver=file,filename=(pwd)/pc-bios/edk2-aarch64-code.fd,read-only=true \ | |
| -blockdev node-name=efivars,driver=file,filename=$HOME/images/qemu-arm64-efivars \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Based on the original from http://www.skipser.com/p/2/p/auto-delete-email-in-any-gmail-label-.html | |
| * | |
| * Tweaked to keep messages from mythreads | |
| */ | |
| // The name of the Gmail Label that is to be checked for purging? | |
| var LABEL_TO_DELETE = "kernel/lkml"; | |
| // But not these labels | |
| var LABEL_TO_KEEP = "mythreads"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from __future__ import print_function | |
| # | |
| # This script needs to be run on startup | |
| # qemu -kernel ${KERNEL} -s -S | |
| # and then: | |
| # gdb ${KERNEL}.vmlinux -x ${QEMU_SRC}/tests/guest-debug/test-ss.py | |
| # | |
| # This is a soak test for single-stepping which attempts to detect | |
| # failed single-steps by single stepping a whole kernel. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ ./configure --target-list=aarch64-linux-user --static | |
| $ make |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (defvar my-overlays nil) | |
| (let ((start (point-min))) | |
| (save-excursion | |
| (goto-char start) | |
| (while (re-search-forward "aaaa" nil t) | |
| (let ((overlay (make-overlay start (- (match-beginning 0) 1)))) | |
| (add-to-list 'my-overlays overlay)) | |
| (forward-line) | |
| (setq start (point))))) |
NewerOlder