Skip to content
Navigation Menu
Toggle navigation
Sign in
In this repository
All GitHub Enterprise
↵
Jump to
↵
No suggested jump to results
In this repository
All GitHub Enterprise
↵
Jump to
↵
In this organization
All GitHub Enterprise
↵
Jump to
↵
In this repository
All GitHub Enterprise
↵
Jump to
↵
Sign in
Reseting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
mariux64
/
linux
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
2
Pull requests
0
Actions
Projects
0
Wiki
Security
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security
Insights
Files
05a8256
Documentation
arch
alpha
arc
arm
arm64
avr32
blackfin
c6x
cris
frv
h8300
hexagon
ia64
m32r
m68k
metag
microblaze
mips
mn10300
nios2
openrisc
parisc
powerpc
s390
score
sh
sparc
tile
configs
gxio
include
arch
asm
Kbuild
asm-offsets.h
atomic.h
atomic_32.h
atomic_64.h
backtrace.h
barrier.h
bitops.h
bitops_32.h
bitops_64.h
cache.h
cacheflush.h
checksum.h
cmpxchg.h
compat.h
current.h
delay.h
device.h
dma-mapping.h
dma.h
elf.h
fixmap.h
ftrace.h
futex.h
hardirq.h
hardwall.h
highmem.h
homecache.h
hugetlb.h
hv_driver.h
ide.h
io.h
irq.h
irq_work.h
irqflags.h
kdebug.h
kexec.h
kgdb.h
kmap_types.h
kprobes.h
linkage.h
mm-arch-hooks.h
mmu.h
mmu_context.h
mmzone.h
module.h
page.h
pci.h
percpu.h
perf_event.h
pgalloc.h
pgtable.h
pgtable_32.h
pgtable_64.h
pmc.h
processor.h
ptrace.h
sections.h
setup.h
sigframe.h
signal.h
smp.h
spinlock.h
spinlock_32.h
spinlock_64.h
spinlock_types.h
stack.h
string.h
switch_to.h
syscall.h
syscalls.h
thread_info.h
tile-desc.h
tile-desc_32.h
tile-desc_64.h
timex.h
tlb.h
tlbflush.h
topology.h
traps.h
uaccess.h
unaligned.h
unistd.h
user.h
vdso.h
vga.h
word-at-a-time.h
gxio
hv
uapi
kernel
kvm
lib
mm
Kbuild
Kconfig
Kconfig.debug
Makefile
um
unicore32
x86
xtensa
.gitignore
Kconfig
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README
REPORTING-BUGS
Breadcrumbs
linux
/
arch
/
tile
/
include
/
asm
/
stack.h
Blame
Blame
Latest commit
History
History
71 lines (59 loc) · 2.56 KB
Breadcrumbs
linux
/
arch
/
tile
/
include
/
asm
/
stack.h
Top
File metadata and controls
Code
Blame
71 lines (59 loc) · 2.56 KB
Raw
/* * Copyright 2010 Tilera Corporation. All Rights Reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation, version 2. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or * NON INFRINGEMENT. See the GNU General Public License for * more details. */ #ifndef _ASM_TILE_STACK_H #define _ASM_TILE_STACK_H #include <linux/types.h> #include <linux/sched.h> #include <asm/backtrace.h> #include <asm/page.h> #include <hv/hypervisor.h> /* Everything we need to keep track of a backtrace iteration */ struct KBacktraceIterator { BacktraceIterator it; struct task_struct *task; /* task we are backtracing */ int end; /* iteration complete. */ int new_context; /* new context is starting */ int profile; /* profiling, so stop on async intrpt */ int verbose; /* printk extra info (don't want to * do this for profiling) */ int is_current; /* backtracing current task */ }; /* Iteration methods for kernel backtraces */ /* * Initialize a KBacktraceIterator from a task_struct, and optionally from * a set of registers. If the registers are omitted, the process is * assumed to be descheduled, and registers are read from the process's * thread_struct and stack. "verbose" means to printk some additional * information about fault handlers as we pass them on the stack. */ extern void KBacktraceIterator_init(struct KBacktraceIterator *kbt, struct task_struct *, struct pt_regs *); /* Initialize iterator based on current stack. */ extern void KBacktraceIterator_init_current(struct KBacktraceIterator *kbt); /* Helper method for above. */ extern void _KBacktraceIterator_init_current(struct KBacktraceIterator *kbt, ulong pc, ulong lr, ulong sp, ulong r52); /* No more frames? */ extern int KBacktraceIterator_end(struct KBacktraceIterator *kbt); /* Advance to the next frame. */ extern void KBacktraceIterator_next(struct KBacktraceIterator *kbt); /* Dump just the contents of the pt_regs structure. */ extern void tile_show_regs(struct pt_regs *); /* * Dump stack given complete register info. Use only from the * architecture-specific code; show_stack() * and dump_stack() are architecture-independent entry points. */ extern void tile_show_stack(struct KBacktraceIterator *); #endif /* _ASM_TILE_STACK_H */
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
You can’t perform that action at this time.