[DTrace-devel] [PATCH 5/6] drti: drop misleading comment

Kris Van Hees kris.van.hees at oracle.com
Fri May 12 14:40:10 UTC 2023


On Wed, Apr 19, 2023 at 04:41:30PM +0100, Nick Alcock via DTrace-devel wrote:
> Much of the block comment above _dtrace_dof_init hasn't been relevant in
> the entire lifetime of DTrace for Linux.  Drop it.
> 
> Signed-off-by: Nick Alcock <nick.alcock at oracle.com>

Reviewed-by: Kris Van Hees <kris.van.hees at oracle.com>

> ---
>  libdtrace/drti.c | 10 +---------
>  1 file changed, 1 insertion(+), 9 deletions(-)
> 
> diff --git a/libdtrace/drti.c b/libdtrace/drti.c
> index a533028264d31..e1252b4fe02b7 100644
> --- a/libdtrace/drti.c
> +++ b/libdtrace/drti.c
> @@ -1,6 +1,6 @@
>  /*
>   * Oracle Linux DTrace.
> - * Copyright (c) 2008, 2022, Oracle and/or its affiliates. All rights reserved.
> + * Copyright (c) 2008, 2023, Oracle and/or its affiliates. All rights reserved.
>   * Licensed under the Universal Permissive License v 1.0 as shown at
>   * http://oss.oracle.com/licenses/upl.
>   */
> @@ -23,14 +23,6 @@
>  #include <errno.h>
>  
>  /*
> - * In Solaris 10 GA, the only mechanism for communicating helper information
> - * is through the DTrace helper pseudo-device node in /devices; there is
> - * no /dev link. Because of this, USDT providers and helper actions don't
> - * work inside of non-global zones. This issue was addressed by adding
> - * the /dev and having this initialization code use that /dev link. If the
> - * /dev link doesn't exist it falls back to looking for the /devices node
> - * as this code may be embedded in a binary which runs on Solaris 10 GA.
> - *
>   * Users may set the following environment variables to affect the way
>   * helper initialization takes place:
>   *
> -- 
> 2.39.1.268.g9de2f9a303
> 
> 
> _______________________________________________
> DTrace-devel mailing list
> DTrace-devel at oss.oracle.com
> https://oss.oracle.com/mailman/listinfo/dtrace-devel



More information about the DTrace-devel mailing list