Release 4.14 arch/x86/um/sysrq_64.c
/*
* Copyright 2003 PathScale, Inc.
*
* Licensed under the GPL
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/sched/debug.h>
#include <linux/utsname.h>
#include <asm/current.h>
#include <asm/ptrace.h>
#include <asm/sysrq.h>
void show_regs(struct pt_regs *regs)
{
printk("\n");
print_modules();
printk(KERN_INFO "Pid: %d, comm: %.20s %s %s\n", task_pid_nr(current),
current->comm, print_tainted(), init_utsname()->release);
printk(KERN_INFO "RIP: %04lx:[<%016lx>]\n", PT_REGS_CS(regs) & 0xffff,
PT_REGS_IP(regs));
printk(KERN_INFO "RSP: %016lx EFLAGS: %08lx\n", PT_REGS_SP(regs),
PT_REGS_EFLAGS(regs));
printk(KERN_INFO "RAX: %016lx RBX: %016lx RCX: %016lx\n",
PT_REGS_AX(regs), PT_REGS_BX(regs), PT_REGS_CX(regs));
printk(KERN_INFO "RDX: %016lx RSI: %016lx RDI: %016lx\n",
PT_REGS_DX(regs), PT_REGS_SI(regs), PT_REGS_DI(regs));
printk(KERN_INFO "RBP: %016lx R08: %016lx R09: %016lx\n",
PT_REGS_BP(regs), PT_REGS_R8(regs), PT_REGS_R9(regs));
printk(KERN_INFO "R10: %016lx R11: %016lx R12: %016lx\n",
PT_REGS_R10(regs), PT_REGS_R11(regs), PT_REGS_R12(regs));
printk(KERN_INFO "R13: %016lx R14: %016lx R15: %016lx\n",
PT_REGS_R13(regs), PT_REGS_R14(regs), PT_REGS_R15(regs));
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jeff Dike | 163 | 90.56% | 2 | 25.00% |
Al Viro | 9 | 5.00% | 2 | 25.00% |
Serge E. Hallyn | 3 | 1.67% | 1 | 12.50% |
Alexey Dobriyan | 3 | 1.67% | 1 | 12.50% |
Brian Gerst | 1 | 0.56% | 1 | 12.50% |
Richard Weinberger | 1 | 0.56% | 1 | 12.50% |
Total | 180 | 100.00% | 8 | 100.00% |
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jeff Dike | 184 | 89.76% | 2 | 20.00% |
Al Viro | 10 | 4.88% | 3 | 30.00% |
Serge E. Hallyn | 3 | 1.46% | 1 | 10.00% |
Ingo Molnar | 3 | 1.46% | 1 | 10.00% |
Alexey Dobriyan | 3 | 1.46% | 1 | 10.00% |
Brian Gerst | 1 | 0.49% | 1 | 10.00% |
Richard Weinberger | 1 | 0.49% | 1 | 10.00% |
Total | 205 | 100.00% | 10 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.