uprobes.h 588 B

12345678910111213141516171819202122232425262728293031323334
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * User-space Probes (UProbes) for s390
  4. *
  5. * Copyright IBM Corp. 2014
  6. * Author(s): Jan Willeke,
  7. */
  8. #ifndef _ASM_UPROBES_H
  9. #define _ASM_UPROBES_H
  10. #include <linux/notifier.h>
  11. typedef u16 uprobe_opcode_t;
  12. #define UPROBE_XOL_SLOT_BYTES 256 /* cache aligned */
  13. #define UPROBE_SWBP_INSN 0x0002
  14. #define UPROBE_SWBP_INSN_SIZE 2
  15. struct arch_uprobe {
  16. union{
  17. uprobe_opcode_t insn[3];
  18. uprobe_opcode_t ixol[3];
  19. };
  20. unsigned int saved_per : 1;
  21. unsigned int saved_int_code;
  22. };
  23. struct arch_uprobe_task {
  24. };
  25. #endif /* _ASM_UPROBES_H */