Lines Matching refs:probes

235 static dtrace_probe_t	**dtrace_probes;	/* array of all probes */
236 static int dtrace_nprobes; /* number of probes */
245 static dtrace_hash_t *dtrace_bymod; /* probes hashed by module */
246 static dtrace_hash_t *dtrace_byfunc; /* probes hashed by function */
247 static dtrace_hash_t *dtrace_byname; /* probes hashed by name */
274 * including enabling state, probes, ECBs, consumer state, helper state,
338 * provider of the BEGIN, END, and ERROR probes).
3471 * results for anchored probes.
4480 * probes will not activate in user contexts to which the
4512 * probes will not activate in user contexts to which the
4536 * probes will not activate in user contexts to which the
7339 * probes in its current context.
8018 * DTrace framework to look-up probes in, add probes to and remove probes from
8345 * These functions are used to match groups of probes, given some elements of
8679 * probes: if each field is the empty string, reset dtpk_fmatch to
8897 * probes, we refuse to let providers slither away, unless this
8914 * Attempt to destroy the probes associated with this provider.
8957 * All of the probes for this provider are disabled; we can safely
8983 * The provider's probes have been removed from the hash chains and
9039 * specified provider will fail, but its probes will not be removed.
9073 * Remove all the unenabled probes for the given provider. This function is
9075 * -- just as many of its associated probes as it can.
9094 * Attempt to destroy the probes associated with this provider.
9135 * including functions to create probes, look-up probes, and call into the
9136 * providers to request that probes be provided. Some of these functions are
9148 dtrace_probe_t *probe, **probes;
9189 probes = kmem_zalloc(nsize, KM_SLEEP);
9193 dtrace_probes = probes;
9198 bcopy(oprobes, probes, osize);
9200 dtrace_probes = probes;
9205 * All CPUs are now seeing the new probes array; we can
9312 * Called to indicate that a probe -- or probes -- should be provided by a
9314 * be told to provide all of its probes. (This is done whenever a new
9318 * to support the creation of probes on-the-fly. (So-called _autocreated_
9319 * probes.) If the provider is NULL, the operations will be applied to all
9525 * Create the probes.
9578 * We may have just created probes, so we must now rematch against
9693 * If there are providers and probes ready to go, pass them
12964 * probes, we kick out -- perhaps with some number of
12965 * them enabled. Leaving enabled probes enabled may
13001 * Iterate over all retained enablings to see if any probes match
13025 * If an enabling is to be enabled without having matched probes (that is, if
13031 * enabling any probes, we create ECBs for every ECB decription, but with a
13066 * Called to indicate that probes should be provided due to retained
13069 * entry point explicitly to allow for autocreated probes.
13116 * Called to reap ECBs that are attached to probes from defunct providers.
13168 * with the defunct provider's probes.
14198 * set, do not permit sections relating to providers, probes, or args.
14785 * Make all probes in all zones visible. However,
14950 * prereserved space to be the space required by the END probes.
15449 * Now we can safely disable and destroy any enabled probes. Because
15450 * any DTRACE_PRIV_KERNEL probes may actually be slowing our progress
15452 * ECBs: in the first, we disable just DTRACE_PRIV_KERNEL probes, and
16252 * Take a pass through the probes to check for errors.
16716 * Enabling probes requires that cpu_lock be held, and we cannot hold
16785 "kldunload: attempt to unload module that has DTrace probes enabled\n");
16825 "enabled probes", ctl->mod_modname);
16828 "enabled probes", modname);
16858 * We've removed all of the module's probes from the hash chains and
17159 * probes, and then match any anonymous enabling against them. Note
17173 * enable the probes. We have to drop all of our locks, pick
17247 * Ask all providers to provide all their probes.