Searched refs:nptrs (Results 1 – 2 of 2) sorted by relevance
112 static void get_backtrace_addr(void *const *buffer, int nptrs) in get_backtrace_addr() argument114 for (int i = 1; i < nptrs; ++i) { in get_backtrace_addr()121 int nptrs, i; in print_trace() local125 nptrs = backtrace(buffer, TRACE_MAX_DEPTH); in print_trace()126 printf("\nBacktrace() returned %d addresses\n", nptrs - TRACE_IGNORE); in print_trace()127 strings = backtrace_symbols(buffer, nptrs); in print_trace()132 for (i = 1; i < nptrs; ++i) { in print_trace()134 get_backtrace_addr(buffer, nptrs); in print_trace()
2995 int j, nptrs; in generate_backtrace_trace() local3000 nptrs = backtrace (buffer, BT_BUF_SIZE); in generate_backtrace_trace()3002 strings = backtrace_symbols (buffer, nptrs); in generate_backtrace_trace()3009 for (j = 0; j < nptrs; j++) in generate_backtrace_trace()