#ifndef __PSTORE_INTERNAL_H__ #define __PSTORE_INTERNAL_H__ #include <linux/types.h> #include <linux/time.h> #include <linux/pstore.h> #if NR_CPUS <= 2 && defined(CONFIG_ARM_THUMB) #define PSTORE_CPU_IN_IP 0x1 #elif NR_CPUS <= 4 && defined(CONFIG_ARM) #define PSTORE_CPU_IN_IP 0x3 #endif struct pstore_ftrace_record { unsigned long ip; unsigned long parent_ip; #ifndef PSTORE_CPU_IN_IP unsigned int cpu; #endif };
static inline void pstore_ftrace_encode_cpu(struct pstore_ftrace_record *rec, unsigned int cpu) { #ifndef PSTORE_CPU_IN_IP rec->cpu = cpu; #else rec->ip |= cpu; #endif }Contributors
Person | Tokens | Prop | Commits | CommitProp | |
anton vorontsov | anton vorontsov | 35 | 100.00% | 1 | 100.00% |
Total | 35 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
anton vorontsov | anton vorontsov | 32 | 100.00% | 1 | 100.00% |
Total | 32 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
anton vorontsov | anton vorontsov | 8 | 100.00% | 1 | 100.00% |
Total | 8 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
geliang tang | geliang tang | 8 | 100.00% | 1 | 100.00% |
Total | 8 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
mark salyzyn | mark salyzyn | 8 | 100.00% | 1 | 100.00% |
Total | 8 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
geliang tang | geliang tang | 8 | 100.00% | 1 | 100.00% |
Total | 8 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
anton vorontsov | anton vorontsov | 164 | 59.85% | 3 | 25.00% |
tony luck | tony luck | 48 | 17.52% | 3 | 25.00% |
geliang tang | geliang tang | 31 | 11.31% | 2 | 16.67% |
mark salyzyn | mark salyzyn | 22 | 8.03% | 1 | 8.33% |
aruna balakrishnaiah | aruna balakrishnaiah | 3 | 1.09% | 1 | 8.33% |
matthew garrett | matthew garrett | 3 | 1.09% | 1 | 8.33% |
seiji aguchi | seiji aguchi | 3 | 1.09% | 1 | 8.33% |
Total | 274 | 100.00% | 12 | 100.00% |