• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/dtrace/

Lines Matching refs:probes

227 static dtrace_probe_t	**dtrace_probes;	/* array of all probes */
228 static int dtrace_nprobes; /* number of probes */
237 static dtrace_hash_t *dtrace_bymod; /* probes hashed by module */
238 static dtrace_hash_t *dtrace_byfunc; /* probes hashed by function */
239 static dtrace_hash_t *dtrace_byname; /* probes hashed by name */
266 * including enabling state, probes, ECBs, consumer state, helper state,
328 * provider of the BEGIN, END, and ERROR probes).
3468 * results for anchored probes.
4477 * probes will not activate in user contexts to which the
4509 * probes will not activate in user contexts to which the
4533 * probes will not activate in user contexts to which the
7325 * probes in its current context.
7989 * DTrace framework to look-up probes in, add probes to and remove probes from
8316 * These functions are used to match groups of probes, given some elements of
8650 * probes: if each field is the empty string, reset dtpk_fmatch to
8868 * probes, we refuse to let providers slither away, unless this
8885 * Attempt to destroy the probes associated with this provider.
8928 * All of the probes for this provider are disabled; we can safely
8954 * The provider's probes have been removed from the hash chains and
9010 * specified provider will fail, but its probes will not be removed.
9044 * Remove all the unenabled probes for the given provider. This function is
9046 * -- just as many of its associated probes as it can.
9065 * Attempt to destroy the probes associated with this provider.
9106 * including functions to create probes, look-up probes, and call into the
9107 * providers to request that probes be provided. Some of these functions are
9119 dtrace_probe_t *probe, **probes;
9160 probes = kmem_zalloc(nsize, KM_SLEEP);
9164 dtrace_probes = probes;
9169 bcopy(oprobes, probes, osize);
9171 dtrace_probes = probes;
9176 * All CPUs are now seeing the new probes array; we can
9283 * Called to indicate that a probe -- or probes -- should be provided by a
9285 * be told to provide all of its probes. (This is done whenever a new
9289 * to support the creation of probes on-the-fly. (So-called _autocreated_
9290 * probes.) If the provider is NULL, the operations will be applied to all
9496 * Create the probes.
9549 * We may have just created probes, so we must now rematch against
9664 * If there are providers and probes ready to go, pass them
12930 * probes, we kick out -- perhaps with some number of
12931 * them enabled. Leaving enabled probes enabled may
12967 * Iterate over all retained enablings to see if any probes match
12991 * If an enabling is to be enabled without having matched probes (that is, if
12997 * enabling any probes, we create ECBs for every ECB decription, but with a
13032 * Called to indicate that probes should be provided due to retained
13035 * entry point explicitly to allow for autocreated probes.
13082 * Called to reap ECBs that are attached to probes from defunct providers.
13134 * with the defunct provider's probes.
14164 * set, do not permit sections relating to providers, probes, or args.
14751 * Make all probes in all zones visible. However,
14916 * prereserved space to be the space required by the END probes.
15415 * Now we can safely disable and destroy any enabled probes. Because
15416 * any DTRACE_PRIV_KERNEL probes may actually be slowing our progress
15418 * ECBs: in the first, we disable just DTRACE_PRIV_KERNEL probes, and
16218 * Take a pass through the probes to check for errors.
16682 * Enabling probes requires that cpu_lock be held, and we cannot hold
16751 "kldunload: attempt to unload module that has DTrace probes enabled\n");
16791 "enabled probes", ctl->mod_modname);
16794 "enabled probes", modname);
16824 * We've removed all of the module's probes from the hash chains and
17125 * probes, and then match any anonymous enabling against them. Note
17139 * enable the probes. We have to drop all of our locks, pick
17213 * Ask all providers to provide all their probes.