ftrace.h 511 B

12345678910111213141516171819202122232425
  1. #ifndef _ASM_PARISC_FTRACE_H
  2. #define _ASM_PARISC_FTRACE_H
  3. #ifndef __ASSEMBLY__
  4. extern void mcount(void);
  5. /*
  6. * Stack of return addresses for functions of a thread.
  7. * Used in struct thread_info
  8. */
  9. struct ftrace_ret_stack {
  10. unsigned long ret;
  11. unsigned long func;
  12. unsigned long long calltime;
  13. };
  14. /*
  15. * Primary handler of a function return.
  16. * It relays on ftrace_return_to_handler.
  17. * Defined in entry.S
  18. */
  19. extern void return_to_handler(void);
  20. #endif /* __ASSEMBLY__ */
  21. #endif /* _ASM_PARISC_FTRACE_H */