Home
last modified time | relevance | path

Searched full:probe (Results 1 – 25 of 1431) sorted by relevance

12345678910>>...58

/freebsd/sys/sys/
H A Dlockstat.h82 #define LOCKSTAT_RECORD0(probe, lp) \ argument
83 SDT_PROBE1(lockstat, , , probe, lp)
85 #define LOCKSTAT_RECORD1(probe, lp, arg1) \ argument
86 SDT_PROBE2(lockstat, , , probe, lp, arg1)
88 #define LOCKSTAT_RECORD2(probe, lp, arg1, arg2) \ argument
89 SDT_PROBE3(lockstat, , , probe, lp, arg1, arg2)
91 #define LOCKSTAT_RECORD3(probe, lp, arg1, arg2, arg3) \ argument
92 SDT_PROBE4(lockstat, , , probe, lp, arg1, arg2, arg3)
94 #define LOCKSTAT_RECORD4(probe, lp, arg1, arg2, arg3, arg4) \ argument
95 SDT_PROBE5(lockstat, , , probe, lp, arg1, arg2, arg3, arg4)
[all …]
/freebsd/sys/cddl/dev/sdt/
H A Dsdt.c138 sdt_create_probe(struct sdt_probe *probe) in sdt_create_probe() argument
149 if (probe->version != (int)sizeof(*probe)) { in sdt_create_probe()
150 printf("ignoring probe %p, version %u expected %u\n", in sdt_create_probe()
151 probe, probe->version, (int)sizeof(*probe)); in sdt_create_probe()
156 if (strcmp(prov->name, probe->prov->name) == 0) in sdt_create_probe()
159 KASSERT(prov != NULL, ("probe defined without a provider")); in sdt_create_probe()
162 if (*probe->mod == 0) { in sdt_create_probe()
163 len = strlcpy(mod, probe->sdtp_lf->filename, sizeof(mod)); in sdt_create_probe()
167 strlcpy(mod, probe->mod, sizeof(mod)); in sdt_create_probe()
175 strlcpy(func, probe->func, sizeof(func)); in sdt_create_probe()
[all …]
/freebsd/cddl/usr.sbin/dwatch/
H A Ddwatch29 # $Title: Watch processes as they trigger a particular DTrace probe $
118 PROBE=
145 printf "\t probe[,...] [args ...]\n"
146 printf " %s -l [-fmnPqy] [-r regex] [probe ...]\n" "$pgm"
160 "Enable probe matching the specified function name."
174 "Enable probe matching the specified module name."
176 "Enable probe matching the specified probe name."
186 "Enable probe matching the specified provider name."
208 "Trace. Print \`<probe-id>' when a probe is triggered."
278 local probe="$1"
[all …]
H A Ddwatch.130 .Nd watch processes as they trigger a particular DTrace probe
51 .Op probe[,...]
57 .Op probe ...
67 to display process info when a given DTrace probe point is triggered.
78 probe-specific data.
98 and probe traversal.
167 option gives the ability to customize probe-specific data.
192 .Ar probe
202 the probe argument is intelligently mapped to its most-likely value.
236 the name and arguments of the program triggering the probe are shown.
[all …]
/freebsd/share/man/man9/
H A DSDT.981 When a DTrace probe corresponding to a given trace point is enabled, threads
82 that execute the trace point will call a handler and cause the probe to fire.
84 to the DTrace framework when an enabled probe fires.
86 Multiple trace points may correspond to a single DTrace probe, allowing
89 For instance, a DTrace probe corresponding to the arrival of an IP packet into
125 Once a probe has been defined, trace points for that probe may be added to
127 DTrace probe identifiers consist of a provider, module, function and name, all
130 probe definition.
131 Note that probes should not specify a module name: the module name of a probe is
142 character (dash) is wanted in a probe name,
[all …]
/freebsd/sys/dev/bhnd/bhndb/
H A Dbhndb_pci.c101 struct bhndb_pci_probe *probe);
106 static int bhndb_pci_probe_alloc(struct bhndb_pci_probe **probe,
108 static void bhndb_pci_probe_free(struct bhndb_pci_probe *probe);
111 struct bhndb_pci_probe *probe,
123 struct bhndb_pci_probe *probe);
150 struct bhndb_pci_probe *probe; /**< borrowed probe reference */ member
157 * May be safely used during probe or early device attach, prior to calling
264 struct bhndb_pci_probe *probe; in bhndb_pci_probe() local
271 probe = NULL; in bhndb_pci_probe()
298 if ((error = bhndb_pci_probe_alloc(&probe, dev, hostb_devclass))) in bhndb_pci_probe()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCPseudoProbe.cpp1 //===- lib/MC/MCPseudoProbe.cpp - Pseudo probe encoding support ----------===//
55 "Last probe should not be null for non-sentinel probes"); in emit()
64 assert(Type <= 0xF && "Probe type too big to encode, exceeding 15"); in emit()
69 "Probe attributes too big to encode, exceeding 7"); in emit()
87 // Emit the GUID of the split function that the sentinel probe represents. in emit()
96 dbgs() << "Probe: " << Index << "\n"; in emit()
101 const MCPseudoProbe &Probe, const MCPseudoProbeInlineStack &InlineStack) { in addPseudoProbe() argument
106 // Probe: GUID of C, ... in addPseudoProbe()
108 // which means, Function A inlines function B at call site with a probe id of in addPseudoProbe()
109 // 88, and B inlines C at probe 66. The tri-tree expects a tree path like {[0, in addPseudoProbe()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DPseudoProbe.cpp1 //===- PseudoProbe.cpp - Pseudo Probe Helpers -----------------------------===//
9 // This file implements the helpers to manipulate pseudo probe IR intrinsic
29 PseudoProbe Probe; in extractProbeFromDiscriminator() local
30 Probe.Id = in extractProbeFromDiscriminator()
32 Probe.Type = in extractProbeFromDiscriminator()
34 Probe.Attr = in extractProbeFromDiscriminator()
36 Probe.Factor = in extractProbeFromDiscriminator()
39 Probe.Discriminator = 0; in extractProbeFromDiscriminator()
40 return Probe; in extractProbeFromDiscriminator()
49 "Only call instructions should have pseudo probe encodes as their " in extractProbeFromDiscriminator()
[all …]
/freebsd/sys/security/audit/
H A Daudit_dtrace.c55 * probes, which use the event's name to create the probe:
68 * probe activity with the event described in the record. The latter gives
85 * a catch-all probe for those events without mappings?
97 * into the probe explicitly (e.g., as arg0), since it would no longer be
98 * available as the probe function name.
119 * Strings for the "module" and "name" portions of the probe. The name of the
120 * audit event will be the "function" portion of the probe. All dtaudit
157 * minimise probe effect when not used at all, we not only check for the probe
159 * one probe is enabled, before acquiring locks, searching lists, etc.
168 * additional probe types (e.g., event clases).
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSampleProfileProbe.cpp1 //===- SampleProfileProbe.cpp - Pseudo probe Instrumentation -------------===//
38 #define DEBUG_TYPE "pseudo-probe"
44 VerifyPseudoProbe("verify-pseudo-probe", cl::init(false), cl::Hidden,
45 cl::desc("Do pseudo probe verification"));
48 "verify-pseudo-probe-funcs", cl::Hidden,
52 UpdatePseudoProbe("update-pseudo-probe", cl::init(true), cl::Hidden,
53 cl::desc("Update pseudo probe distribution factor"));
98 "\n*** Pseudo Probe Verification After " + PassID.str() + " ***\n"; in runAfterPass()
139 if (std::optional<PseudoProbe> Probe = extractProbe(I)) { in collectProbeFactors() local
141 ProbeFactors[{Probe->Id, Hash}] += Probe->Factor; in collectProbeFactors()
[all …]
/freebsd/share/man/man4/
H A Ddtrace_sched.453 probe fires when a thread's active scheduling priority is about to be updated.
61 probe fires when the currently-running thread elevates the priority of another
70 probe fires immediately before a runnable thread is removed from a scheduler
85 probe fires when a runnable thread is about to be added to a scheduler run
96 probe fires after the load of a thread queue is adjusted.
103 probe is triggered by the scheduler suspending execution of the
106 probe fires when the current thread has been selected to run on a CPU and is
114 probe will fire instead.
118 probe fires when the scheduler is called upon to make a scheduling decision by
120 The arguments to this probe are the interrupted thread and its corresponding
[all …]
H A Ddtrace_proc.448 probe fires when a user process is created via the
57 KPI will not trigger this probe.
60 probe's first two arguments are the new child process and its parent,
69 probe fires when a process attempts to execute a file.
73 probe will subsequently fire, providing the corresponding
78 probe will fire.
82 probe fires when a process exits or is terminated.
96 probe fires when a signal is about to be sent to a process.
99 probe fires when a signal is sent to a process that ignores it.
100 This probe will fire after the
[all …]
/freebsd/sys/netinet/
H A Dsctp_kdtrace.h40 #define SCTP_PROBE1(probe, arg0) \ argument
41 SDT_PROBE1(sctp, , , probe, arg0)
42 #define SCTP_PROBE2(probe, arg0, arg1) \ argument
43 SDT_PROBE2(sctp, , , probe, arg0, arg1)
44 #define SCTP_PROBE3(probe, arg0, arg1, arg2) \ argument
45 SDT_PROBE3(sctp, , , probe, arg0, arg1, arg2)
46 #define SCTP_PROBE4(probe, arg0, arg1, arg2, arg3) \ argument
47 SDT_PROBE4(sctp, , , probe, arg0, arg1, arg2, arg3)
48 #define SCTP_PROBE5(probe, arg0, arg1, arg2, arg3, arg4) \ argument
49 SDT_PROBE5(sctp, , , probe, arg0, arg1, arg2, arg3, arg4)
[all …]
/freebsd/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Ddtrace.h84 #define DTRACE_IDNONE 0 /* invalid probe identifier */
85 #define DTRACE_EPIDNONE 0 /* invalid enabled probe identifier */
101 typedef uint32_t dtrace_id_t; /* probe identifier */
102 typedef uint32_t dtrace_epid_t; /* enabled probe identifier */
234 #define DIF_VAR_EPID 0x0104 /* enabled probe ID */
235 #define DIF_VAR_ID 0x0105 /* probe ID */
248 #define DIF_VAR_PROBEPROV 0x0112 /* probe provider */
249 #define DIF_VAR_PROBEMOD 0x0113 /* probe module */
250 #define DIF_VAR_PROBEFUNC 0x0114 /* probe function */
251 #define DIF_VAR_PROBENAME 0x0115 /* probe name */
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DPseudoProbe.h1 //===- PseudoProbe.h - Pseudo Probe IR Helpers ------------------*- C++ -*-===//
9 // Pseudo probe IR intrinsic and dwarf discriminator manipulation routines.
43 // The following APIs encodes/decodes per-probe information to/from a
48 // [18:3] for probe id.
50 // [15:3] for probe id, [18:16] for dwarf base discriminator.
51 // [25:19] - probe distribution factor
52 // [27:26] - probe type, see PseudoProbeType
54 // [30:29] - reserved for probe attributes
58 assert(Index <= 0xFFFF && "Probe index too big to encode, exceeding 2^16"); in packProbeData()
59 assert(Type <= 0x3 && "Probe type too big to encode, exceeding 3"); in packProbeData()
[all …]
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/dtraceUtil/
H A Dman.TraceNames39 * RESULT: invalid probe specifier
43 * RESULT: invalid probe specifier
47 * RESULT: invalid probe specifier
51 * RESULT: trace of one probe with name BEGIN.
55 * RESULT: invalid probe specifier
59 * RESULT: invalid probe specifier
67 * RESULT: invalid probe specifier
80 * RESULT: invalid probe specifier
97 * RESULT: Count of mathching read probes and invalid probe specifier
102 * RESULT: invalid probe specifier
[all …]
H A Dman.TraceModule39 * RESULT: invalid probe specifier
51 * RESULT: invalid probe specifier
59 * RESULT: invalid probe specifier
63 * RESULT: not a valid probe description.
72 * and an invalid probe specifier for foounix.
76 * RESULT: invalid probe specifier for foounix.
80 * RESULT: invalid probe description.
99 * RESULT: invalid probe specifier.
103 * RESULT: invalid probe specifier.
107 * RESULT: invalid probe specifier.
[all …]
/freebsd/cddl/usr.sbin/dwatch/libexec/
H A Dsched12 ############################################################ PROBE
16 : ${PROBE:=sched:::} ;;
18 : ${PROBE:=sched:::off-cpu, sched:::on-cpu, sched:::remain-cpu} ;;
20 : ${PROBE:=sched:::sleep, sched:::wakeup} ;;
22 : ${PROBE:=sched:::change-pri, sched:::lend-pri} ;;
24 : ${PROBE:=sched:::dequeue, sched:::enqueue, sched:::load-change} ;;
26 : ${PROBE:=sched:::${PROFILE#sched-}}
37 $PROBE /* probe ID $ID */
47 sched:::tick, sched:::wakeup /* probe ID $(( $ID + 1 )) */
58 sched:::enqueue /* probe ID $(( $ID + 2 )) */
[all …]
H A Dvop_rename13 ############################################################ PROBE
15 : ${PROBE:=vfs:vop:$PROFILE:entry}
20 $PROBE /* probe ID $ID */
76 $PROBE /this->fvp == 0 || this->ffi_fs == 0 ||
78 this->ffi_name == ""/ /* probe ID $(( $ID + 1 )) */
84 $PROBE /this->tvp == 0 || this->tfi_fs == 0 ||
86 this->tfi_name == ""/ /* probe ID $(( $ID + 2 )) */
94 $PROBE /this->fncp/ /* probe ID $(( $ID + 3 )) (depth 1) */
104 $PROBE /this->tncp/ /* probe ID $(( $ID + 4 )) (depth 1) */
114 $PROBE /this->fname1 == 0 || this->ffi_fs == 0 ||
[all …]
H A Dproc12 ############################################################ PROBE
16 : ${PROBE:=$( echo \
27 : ${PROBE:=$( echo \
33 : ${PROBE:=$( echo \
41 : ${PROBE:=proc:::${PROFILE#proc-}}
63 $PROBE /* probe ID $ID */
69 proc:::create /* probe ID $(( $ID + 1 )) */
81 proc:::exec /* probe ID $(( $ID + 2 )) */
87 proc:::exec-failure /* probe ID $(( $ID + 3 )) */
98 proc:::exec-success /* probe ID $(( $ID + 4 )) */
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DPseudoProbeInserter.cpp9 // This file implements PseudoProbeInserter pass, which inserts pseudo probe
10 // annotations for call instructions with a pseudo-probe-specific dwarf
12 // with a pseudo probe, and the discriminator value holds information to
25 #define DEBUG_TYPE "pseudo-probe-inserter"
38 StringRef getPassName() const override { return "Pseudo Probe Inserter"; } in getPassName()
82 // probe will be counted towards the probe. This logically equals to in runOnMachineFunction()
83 // treating the instruction next to a probe as if it is from the same in runOnMachineFunction()
84 // block of the probe. This is accurate most of the time unless the in runOnMachineFunction()
88 // there are still other native instructions preceding the probe we can in runOnMachineFunction()
89 // use them as a place holder to collect samples for the probe. in runOnMachineFunction()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCPseudoProbe.h1 //===- MCPseudoProbe.h - Pseudo probe encoding support ---------*- C++ -*-===//
10 // probe encoding for AutoFDO. Pseudo probes together with their inline context
26 // PROBE RECORDS
30 // 0 - block probe, 1 - indirect call, 2 - direct call
46 // ID of the callsite probe (ULEB128)
80 // If set, indicates that the probe is encoded as an address delta
155 /// Instances of this class represent a pseudo probe instance for a pseudo probe
167 assert(Type <= 0xFF && "Probe type too big to encode, exceeding 2^8"); in MCPseudoProbe()
169 "Probe attributes too big to encode, exceeding 2^16"); in MCPseudoProbe()
176 // Represents a callsite with caller function name and probe id
[all …]
/freebsd/sys/cddl/contrib/opensolaris/uts/common/dtrace/
H A Dfasttrap.c120 * of tracepoints to enable. If a probe is activated, it adds its ID to
183 * Each time a probe is created, fasttrap_total is incremented by the number
184 * of tracepoints that may be associated with that probe; fasttrap_total is capped
754 fasttrap_tracepoint_enable(proc_t *p, fasttrap_probe_t *probe, uint_t index) in fasttrap_tracepoint_enable() argument
762 ASSERT(index < probe->ftp_ntps); in fasttrap_tracepoint_enable()
764 pid = probe->ftp_pid; in fasttrap_tracepoint_enable()
765 pc = probe->ftp_tps[index].fit_tp->ftt_pc; in fasttrap_tracepoint_enable()
766 id = &probe->ftp_tps[index].fit_id; in fasttrap_tracepoint_enable()
768 ASSERT(probe->ftp_tps[index].fit_tp->ftt_pid == pid); in fasttrap_tracepoint_enable()
776 * on the generation in which this probe was last modified. in fasttrap_tracepoint_enable()
[all …]
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/
H A Dtst.ProbeData.ksh.out1 [probe 1 pid$target:tst.ProbeData.exe:fN:entry [
6 [probe 1 pid$target:tst.ProbeData.exe:fN:entry [
11 [probe 2 pid$target:tst.ProbeData.exe:fN2:entry [
16 [probe 1 pid$target:tst.ProbeData.exe:fN:entry [
21 [probe 2 pid$target:tst.ProbeData.exe:fN2:entry [
26 [probe 1 pid$target:tst.ProbeData.exe:fN:entry [
31 [probe 1 pid$target:tst.ProbeData.exe:fN:entry [
36 [probe 1 pid$target:tst.ProbeData.exe:fN:entry [
41 [probe 1 pid$target:tst.ProbeData.exe:fN:entry [
46 [probe 1 pid$target:tst.ProbeData.exe:fN:entry [
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/
H A Ddtrace.151 .Op Fl i Ar probe-id Oo Oo Ar predicate Oc Ar action Oc
66 Options that enable probes directly using any of the probe description
203 conditional clause in a probe body is replaced at compile-time by a separate
204 probe predicated on the original condition.
236 The corresponding argument can include any of the probe description forms
241 Unspecified probe description fields are left blank and match any probes
250 argument can be suffixed with an optional D probe clause.
256 Function entry probe reports are indented and their output is prefixed with
258 Function return probe reports are unindented and their output is prefixed with
260 System call entry probe reports are indented and their output is prefixed with
[all …]

12345678910>>...58