uprobes.h 549 B

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