#include <linux/spinlock.h>
#include <linux/kernel.h>
#include <linux/time.h>
+#include <ksyms.h>
+#include <dbi_kprobes_deps.h>
#include "module.h"
#include "storage.h"
#include "handlers_core.h"
va_start(args, fmt);
addr = get_probe_func_addr(fmt, args);
va_end(args);
- if( ((addr == pf_addr) && !(probes_flags & PROBE_FLAG_PF_INSTLD)) ||
- ((addr == cp_addr) && !(probes_flags & PROBE_FLAG_CP_INSTLD)) ||
- ((addr == mr_addr) && !(probes_flags & PROBE_FLAG_MR_INSTLD)) ||
- ((addr == unmap_addr) && !(probes_flags & PROBE_FLAG_UNMAP_INSTLD)) ||
- ((addr == exit_addr) && !(probes_flags & PROBE_FLAG_EXIT_INSTLD)) ) {
- return;
- }
}
if (probe_id == US_PROBE_ID) {
va_start(args, fmt);