using doughgle/docs-as-code:main
$ docker run -it ghcr.io/doughgle/docs-as-code:main bash
Example markdown
hugo:/src$ cat test.md
using doughgle/docs-as-code:main
$ docker run -it ghcr.io/doughgle/docs-as-code:main bash
Example markdown
hugo:/src$ cat test.md
[ | |
{ | |
"name": "EKS", | |
"ring": "adopt", | |
"quadrant": "platform services", | |
"isNew": "FALSE", | |
"description": "Elastic Kubernetes Service" | |
}, | |
{ | |
"name": "EC2", |
Git send-email is used by the Linux dev community to send patches as opposed to pull requests. Follow the excellent tutorial on https://git-send-email.io/.
If its a case of TL;DR, in the working git repository:
$ git send-email --annotate -v3 HEAD^
This article captures a few problems I encountered and how I resolved them.
A Linux kernel call trace, like any traceback, call stack, stacktrace or backtrace, lists a most-recent-first chain of function calls which led to a crash. For the linux kernel, a crash is a panic or oops.
Without debug symbols, a kernel stack trace may come only with a line-by-line list of function symbols, e.g.
[ 844.569701][ T7073] Call Trace:
.file "example.c" # filename | |
.text # store in text section | |
.globl myfunc # exported symbol | |
.type myfunc, @function # | |
myfunc: # function name | |
.LFB0: | |
.cfi_startproc #### PROLOGUE | |
pushq %rbp # push base pointer (64bit) onto the stack | |
.cfi_def_cfa_offset 16 | |
.cfi_offset 6, -16 |
#include <stdint.h> | |
#include <stdio.h> | |
long int globl_cnt = 3; | |
void myfunc() { | |
int32_t a; // variable initialized with the value of %edi register | |
int64_t b = 0; | |
int32_t c = 0; |
diff --git a/kernel/sched/debug.c b/kernel/sched/debug.c | |
index 1ca0130..8d4e1fc 100644 | |
--- a/kernel/sched/debug.c | |
+++ b/kernel/sched/debug.c | |
@@ -927,8 +927,11 @@ void proc_sched_show_task(struct task_struct *p, struct pid_namespace *ns, | |
{ | |
unsigned long nr_switches; | |
- SEQ_printf(m, "%s (%d, #threads: %d)\n", p->comm, task_pid_nr_ns(p, ns), | |
- get_nr_threads(p)); |
commit acc0182c3d3869802bc20c8bf4e04c3464936bcc | |
Author: Douglas Hellinger <[email protected]> | |
Date: Sun Nov 19 22:48:46 2017 +0800 | |
Fix tracerPid=0 in /proc | |
diff --git a/fs/proc/array.c b/fs/proc/array.c | |
index 6f6fc16..bcf470d 100644 | |
--- a/fs/proc/array.c | |
+++ b/fs/proc/array.c |