lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <614fc6aa-dfa9-4a5b-bc93-1374fa460b98@bootlin.com>
Date: Mon, 24 Mar 2025 16:19:45 +0100
From: Louis Chauvet <louis.chauvet@...tlin.com>
To: Jim Cromie <jim.cromie@...il.com>, linux-kernel@...r.kernel.org,
 dri-devel@...ts.freedesktop.org, amd-gfx@...ts.freedesktop.org,
 intel-gvt-dev@...ts.freedesktop.org, intel-gfx@...ts.freedesktop.org,
 intel-gfx-trybot@...ts.freedesktop.org
Cc: jbaron@...mai.com, gregkh@...uxfoundation.org, ukaszb@...omium.org,
 daniel.vetter@...ll.ch, tvrtko.ursulin@...ux.intel.com,
 jani.nikula@...el.com, ville.syrjala@...ux.intel.com
Subject: Re: [PATCH v2 27/59] selftests-dyndbg: test_percent_splitting



Le 20/03/2025 à 19:52, Jim Cromie a écrit :
> This does basic testing of classmaps using '%' separated
> multi-queries.  It modprobes test_dynamic_debug with several classes
> enabled, and counts to verify that the expected sites show the
> enablement in the control file.
> 
> Signed-off-by: Jim Cromie <jim.cromie@...il.com>

Reviewed-by: Louis Chauvet <louis.chauvet@...tlin.com>

> ---
>   .../dynamic_debug/dyndbg_selftest.sh          | 20 +++++++++++++++++++
>   1 file changed, 20 insertions(+)
> 
> diff --git a/tools/testing/selftests/dynamic_debug/dyndbg_selftest.sh b/tools/testing/selftests/dynamic_debug/dyndbg_selftest.sh
> index 368d10a691a0..c97c9391d0f4 100755
> --- a/tools/testing/selftests/dynamic_debug/dyndbg_selftest.sh
> +++ b/tools/testing/selftests/dynamic_debug/dyndbg_selftest.sh
> @@ -256,9 +256,29 @@ function comma_terminator_tests {
>       ddcmd =_
>   }
>   
> +function test_percent_splitting {
> +    echo -e "${GREEN}# TEST_PERCENT_SPLITTING - multi-command splitting on % ${NC}"
> +    ifrmmod test_dynamic_debug_submod
> +    ifrmmod test_dynamic_debug
> +    ddcmd =_
> +    modprobe test_dynamic_debug dyndbg=class,D2_CORE,+pf%class,D2_KMS,+pt%class,D2_ATOMIC,+pm
> +    check_match_ct =pf 1
> +    check_match_ct =pt 1
> +    check_match_ct =pm 1
> +    check_match_ct test_dynamic_debug 23 -r
> +    # add flags to those callsites
> +    ddcmd class,D2_CORE,+mf%class,D2_KMS,+lt%class,D2_ATOMIC,+ml
> +    check_match_ct =pmf 1
> +    check_match_ct =plt 1
> +    check_match_ct =pml 1
> +    check_match_ct test_dynamic_debug 23 -r
> +    ifrmmod test_dynamic_debug
> +}
> +
>   tests_list=(
>       basic_tests
>       comma_terminator_tests
> +    test_percent_splitting
>   )
>   
>   # Run tests

-- 
Louis Chauvet, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ