kmalloc_tracer.h 316 B

123456789101112131415161718
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. #ifndef KMALLOC_TRACER_H__
  3. #define KMALLOC_TRACER_H__ 1
  4. #include <linux/types.h>
  5. #include <linux/kprobes.h>
  6. #include "mem_data.h"
  7. #include "../ktracer.h"
  8. #define KMALLOC_TRACER_SYMBOL_NAME "__kmalloc"
  9. extern struct kretprobe kmalloc_probe;
  10. #endif // KMALLOC_TRACER_H__