[DTrace-devel] [PATCH 05/38] Get rid of unneeded enabling_defines.h

Kris Van Hees kris.van.hees at oracle.com
Thu Jul 18 18:35:24 UTC 2024


On Thu, Jun 27, 2024 at 01:34:22AM -0400, eugene.loh at oracle.com wrote:
> From: Eugene Loh <eugene.loh at oracle.com>

Again, stuff from the (old) kernel side of things.

> Signed-off-by: Eugene Loh <eugene.loh at oracle.com>

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

> ---
>  include/dtrace/enabling.h         |  3 +--
>  include/dtrace/enabling_defines.h | 23 -----------------------
>  2 files changed, 1 insertion(+), 25 deletions(-)
>  delete mode 100644 include/dtrace/enabling_defines.h
> 
> diff --git a/include/dtrace/enabling.h b/include/dtrace/enabling.h
> index 41e50cda..d36a73df 100644
> --- a/include/dtrace/enabling.h
> +++ b/include/dtrace/enabling.h
> @@ -2,7 +2,7 @@
>   * Licensed under the Universal Permissive License v 1.0 as shown at
>   * http://oss.oracle.com/licenses/upl.
>   *
> - * Copyright (c) 2009, 2019, Oracle and/or its affiliates. All rights reserved.
> + * Copyright (c) 2009, 2024, Oracle and/or its affiliates. All rights reserved.
>   */
>  
>  /*
> @@ -15,7 +15,6 @@
>  
>  #include <dtrace/universal.h>
>  #include <dtrace/difo_defines.h>
> -#include <dtrace/enabling_defines.h>
>  
>  /*
>   * FIXME: Needs to be rewritten.
> diff --git a/include/dtrace/enabling_defines.h b/include/dtrace/enabling_defines.h
> deleted file mode 100644
> index 875b49d0..00000000
> --- a/include/dtrace/enabling_defines.h
> +++ /dev/null
> @@ -1,23 +0,0 @@
> -/*
> - * Licensed under the Universal Permissive License v 1.0 as shown at
> - * http://oss.oracle.com/licenses/upl.
> - *
> - * Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved.
> - */
> -
> -/*
> - * Note: The contents of this file are private to the implementation of the
> - * DTrace subsystem and are subject to change at any time without notice.
> - */
> -
> -#ifndef _DTRACE_ENABLING_DEFINES_H
> -#define _DTRACE_ENABLING_DEFINES_H
> -
> -#include <dtrace/universal.h>
> -
> -struct dtrace_probedesc;
> -struct dtrace_repldesc;
> -struct dtrace_actdesc;
> -struct dtrace_ecbdesc;
> -
> -#endif /* _DTRACE_ENABLING_DEFINES_H */
> -- 
> 2.18.4
> 



More information about the DTrace-devel mailing list