# See the COPYRIGHT file distributed with this work for additional
# information regarding copyright ownership.
-probe_src = [dtrace_header.process('probes.d'), files('xfrin.c')]
+probe_hdr = dtrace_header.process('probes-dns.d')
+probe_src = [probe_hdr, files('xfrin.c')]
# dns_inc += include_directories('include')
dns_inc_p += include_directories('.')
dns_srcset.add(
when: 'HAVE_DTRACE',
- if_true: custom_target(
- 'dns-probe',
- input: [files('probes.d'), dns_probe_objects],
- output: 'dns-probes.o',
- command: [
- dtrace,
- '-G',
- '-o', '@OUTPUT@',
- '-s', '@INPUT@',
- ],
- ),
+ if_true: [
+ custom_target(
+ 'dns-probe',
+ input: [files('probes-dns.d'), dns_probe_objects],
+ output: 'dns-probes.o',
+ command: [
+ dtrace,
+ '-G',
+ '-o', '@OUTPUT@',
+ '-s', '@INPUT@',
+ ],
+ ),
+ probe_hdr,
+ ],
if_false: probe_src,
)
#include <dst/dst.h>
-#include "probes.h"
+#include "probes-dns.h"
/*
* Incoming AXFR and IXFR.
#include "job_p.h"
#include "loop_p.h"
-#include "probes.h"
+#include "probes-isc.h"
/*
* Public: #include <isc/job.h>
probe_src = []
-probe_src += [dtrace_header.process('probes.d'), files('job.c')]
+probe_hdr = dtrace_header.process('probes-isc.d')
+probe_src += [probe_hdr, files('job.c')]
if config.get('USE_PTHREAD_RWLOCK') != 1
probe_src += files('rwlock.c')
endif
isc_srcset.add(
when: 'HAVE_DTRACE',
- if_true: custom_target(
- 'isc-probe',
- input: [files('probes.d'), isc_probe_objects],
- output: 'isc-probes.o',
- command: [
- dtrace,
- '-G',
- '-o', '@OUTPUT@',
- '-s', '@INPUT@',
- ],
- ),
+ if_true: [
+ custom_target(
+ 'isc-probe',
+ input: [files('probes-isc.d'), isc_probe_objects],
+ output: 'isc-probes.o',
+ command: [
+ dtrace,
+ '-G',
+ '-o', '@OUTPUT@',
+ '-s', '@INPUT@',
+ ],
+ ),
+ probe_hdr,
+ ],
if_false: probe_src,
)
#include <isc/uv.h>
#include "../loop_p.h"
+#include "../openssl_shim.h"
#include "netmgr-int.h"
-#include "openssl_shim.h"
isc__netmgr_t *isc__netmgr = NULL;
#include <isc/tid.h>
#include <isc/util.h>
-#include "probes.h"
+#include "probes-isc.h"
static atomic_uint_fast16_t isc__crwlock_workers = 128;
# See the COPYRIGHT file distributed with this work for additional
# information regarding copyright ownership.
-probe_src = [dtrace_header.process('probes.d'), files('query.c')]
+probe_hdr = dtrace_header.process('probes-ns.d')
+probe_src = [probe_hdr, files('query.c')]
if config.get('HAVE_DTRACE')
ns_probe_objects += static_library(
ns_srcset.add(
when: 'HAVE_DTRACE',
- if_true: custom_target(
- 'ns-probe',
- input: [files('probes.d'), ns_probe_objects],
- output: 'ns-probes.o',
- command: [
- dtrace,
- '-G',
- '-o', '@OUTPUT@',
- '-s', '@INPUT@',
- ],
- ),
+ if_true: [
+ custom_target(
+ 'ns-probe',
+ input: [files('probes-ns.d'), ns_probe_objects],
+ output: 'ns-probes.o',
+ command: [
+ dtrace,
+ '-G',
+ '-o', '@OUTPUT@',
+ '-s', '@INPUT@',
+ ],
+ ),
+ probe_hdr,
+ ],
if_false: probe_src,
)
#include <ns/stats.h>
#include <ns/xfrout.h>
-#include "probes.h"
+#include "probes-ns.h"
#if 0
/*