/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LIBLOCKDEP_LINUX_STACKTRACE_H_ #define _LIBLOCKDEP_LINUX_STACKTRACE_H_ #include <execinfo.h> struct stack_trace { unsigned int nr_entries, max_entries; unsigned long *entries; int skip; };
static inline void print_stack_trace(struct stack_trace *trace, int spaces) { backtrace_symbols_fd((void **)trace->entries, trace->nr_entries, 1); }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Sasha Levin | 33 | 100.00% | 1 | 100.00% |
Total | 33 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Sasha Levin | 40 | 100.00% | 1 | 100.00% |
Total | 40 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Sasha Levin | 111 | 99.11% | 1 | 50.00% |
Greg Kroah-Hartman | 1 | 0.89% | 1 | 50.00% |
Total | 112 | 100.00% | 2 | 100.00% |