printk("\nRSP: %04lx:%016lx  EFLAGS: %08lx\n", regs->ss, regs->rsp, regs->eflags); 
printk("\nRSP: %04lx:%016lx  EFLAGS: %08lx\n", regs->ss, regs->rsp, regs->eflags); 
void __show_regs(struct pt_regs * regs){	unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L, fs, gs, shadowgs;	unsigned int fsindex,gsindex;	unsigned int ds,cs,es; 	printk("\n");	print_modules();	printk("Pid: %d, comm: %.20s %s %s %.*s\n",		current->pid, current->comm, print_tainted(),		system_utsname.release,		(int)strcspn(system_utsname.version, " "),		system_utsname.version);	printk("RIP: %04lx:[<%016lx>] ", regs->cs & 0xffff, regs->rip);	printk_address(regs->rip); 	printk("\nRSP: %04lx:%016lx  EFLAGS: %08lx\n", regs->ss, regs->rsp, regs->eflags);	printk("RAX: %016lx RBX: %016lx RCX: %016lx\n",	       regs->rax, regs->rbx, regs->rcx);	printk("RDX: %016lx RSI: %016lx RDI: %016lx\n",	       regs->rdx, regs->rsi, regs->rdi); 	printk("RBP: %016lx R08: %016lx R09: %016lx\n",	       regs->rbp, regs->r8, regs->r9); 	printk("R10: %016lx R11: %016lx R12: %016lx\n",	       regs->r10, regs->r11, regs->r12); 	printk("R13: %016lx R14: %016lx R15: %016lx\n",	       regs->r13, regs->r14, regs->r15); 	asm("movl %%ds,%0" : "=r" (ds)); 	asm("movl %%cs,%0" : "=r" (cs)); 	asm("movl %%es,%0" : "=r" (es)); 	asm("movl %%fs,%0" : "=r" (fsindex));	asm("movl %%gs,%0" : "=r" (gsindex));	rdmsrl(MSR_FS_BASE, fs);	rdmsrl(MSR_GS_BASE, gs); 	rdmsrl(MSR_KERNEL_GS_BASE, shadowgs); 	asm("movq %%cr0, %0": "=r" (cr0));	asm("movq %%cr2, %0": "=r" (cr2));	asm("movq %%cr3, %0": "=r" (cr3));	asm("movq %%cr4, %0": "=r" (cr4));	printk("FS:  %016lx(%04x) GS:%016lx(%04x) knlGS:%016lx\n", 	       fs,fsindex,gs,gsindex,shadowgs); 	printk("CS:  %04x DS: %04x ES: %04x CR0: %016lx\n", cs, ds, es, cr0); 	printk("CR2: %016lx CR3: %016lx CR4: %016lx\n", cr2, cr3, cr4);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/a88cde13bae3fffd6ecc812bdd02c91eafb6073e/process.c/clean/arch/x86_64/kernel/process.c