trace-event-parse.c 386 B

123456789101112131415161718
  1. #include "../perf.h"
  2. #include "util.h"
  3. #include "trace-event.h"
  4. int common_pc(struct scripting_context *context)
  5. {
  6. return parse_common_pc(context->event_data);
  7. }
  8. int common_flags(struct scripting_context *context)
  9. {
  10. return parse_common_flags(context->event_data);
  11. }
  12. int common_lock_depth(struct scripting_context *context)
  13. {
  14. return parse_common_lock_depth(context->event_data);
  15. }