op_counter.h 578 B

123456789101112131415161718192021222324
  1. /**
  2. * arch/s390/oprofile/op_counter.h
  3. *
  4. * Copyright (C) 2011 IBM Deutschland Entwicklung GmbH, IBM Corporation
  5. * Author(s): Andreas Krebbel (krebbel@linux.vnet.ibm.com)
  6. *
  7. * @remark Copyright 2011 OProfile authors
  8. */
  9. #ifndef OP_COUNTER_H
  10. #define OP_COUNTER_H
  11. struct op_counter_config {
  12. /* `enabled' maps to the hwsampler_file variable. */
  13. /* `count' maps to the oprofile_hw_interval variable. */
  14. /* `event' and `unit_mask' are unused. */
  15. unsigned long kernel;
  16. unsigned long user;
  17. };
  18. extern struct op_counter_config counter_config;
  19. #endif /* OP_COUNTER_H */