[DTrace-devel] [PATCH 9/9] test: Add "none" trigger so that D scripts will be executed

Kris Van Hees kvanhees at kvh-deb-bpf.us.oracle.com
Tue Jan 23 16:54:44 UTC 2024


On Thu, Oct 05, 2023 at 05:14:07PM -0400, eugene.loh at oracle.com wrote:
> 
> Signed-off-by: Eugene Loh <eugene.loh at oracle.com>

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

> ---
>  test/demo/fbt/delay.d   | 1 +
>  test/demo/fbt/putnext.d | 3 ++-
>  test/demo/fbt/ssd.d     | 3 ++-
>  test/demo/fbt/xioctl.d  | 3 ++-
>  4 files changed, 7 insertions(+), 3 deletions(-)
> 
> diff --git a/test/demo/fbt/delay.d b/test/demo/fbt/delay.d
> index 8d56806d..1d03ed20 100644
> --- a/test/demo/fbt/delay.d
> +++ b/test/demo/fbt/delay.d
> @@ -4,6 +4,7 @@
>   * Licensed under the Universal Permissive License v 1.0 as shown at
>   * http://oss.oracle.com/licenses/upl.
>   */
> +/* @@trigger: none */
>  
>  fbt::do_nanosleep:entry
>  {
> diff --git a/test/demo/fbt/putnext.d b/test/demo/fbt/putnext.d
> index d26c0916..7d82e3ac 100644
> --- a/test/demo/fbt/putnext.d
> +++ b/test/demo/fbt/putnext.d
> @@ -1,9 +1,10 @@
>  /*
>   * Oracle Linux DTrace.
> - * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
> + * Copyright (c) 2005, 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.
>   */
> +/* @@trigger: none */
>  
>  /* @@xfail: not yet ported */
>  
> diff --git a/test/demo/fbt/ssd.d b/test/demo/fbt/ssd.d
> index 1cf62d47..51b2e545 100644
> --- a/test/demo/fbt/ssd.d
> +++ b/test/demo/fbt/ssd.d
> @@ -1,9 +1,10 @@
>  /*
>   * Oracle Linux DTrace.
> - * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
> + * Copyright (c) 2005, 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.
>   */
> +/* @@trigger: none */
>  
>  /* @@xfail: not yet ported */
>  
> diff --git a/test/demo/fbt/xioctl.d b/test/demo/fbt/xioctl.d
> index 75c18170..097872fe 100644
> --- a/test/demo/fbt/xioctl.d
> +++ b/test/demo/fbt/xioctl.d
> @@ -1,9 +1,10 @@
>  /*
>   * Oracle Linux DTrace.
> - * Copyright (c) 2005, 2021, Oracle and/or its affiliates. All rights reserved.
> + * Copyright (c) 2005, 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.
>   */
> +/* @@trigger: none */
>  
>  /*
>   * To make the output more readable, we want to indent every function entry
> -- 
> 2.18.4
> 
> 



More information about the DTrace-devel mailing list