tools/testing/selftests/tc-testing/tc-tests/actions/gate.json

Source file repositories/reference/linux-study-clean/tools/testing/selftests/tc-testing/tc-tests/actions/gate.json

File Facts

System
Linux kernel
Corpus path
tools/testing/selftests/tc-testing/tc-tests/actions/gate.json
Extension
.json
Size
10473 bytes
Lines
352
Domain
Support Tooling And Documentation
Bucket
tools
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

[
    {
        "id": "5153",
        "name": "Add gate action with priority and sched-entry",
        "category": [
            "actions",
            "gate"
        ],
        "plugins": {
           "requires": "nsPlugin"
        },
        "setup": [
            [
                "$TC action flush action gate",
                0,
                1,
                255
            ]
        ],
        "cmdUnderTest": "$TC action add action gate priority 1 sched-entry close 100000000ns index 100",
        "expExitCode": "0",
        "verifyCmd": "$TC action get action gate index 100",
        "matchPattern": "action order [0-9]*: .*priority 1.*index 100 ref",
        "matchCount": "1",
        "teardown": [
            "$TC action flush action gate"
        ]
    },
    {
        "id": "7189",
        "name": "Add gate action with base-time",
        "category": [
            "actions",
            "gate"
        ],
        "plugins": {
           "requires": "nsPlugin"
        },
        "setup": [
            [
                "$TC actions flush action gate",
                0,
                1,
                255
            ]
        ],
        "cmdUnderTest": "$TC action add action gate base-time 200000000000ns sched-entry close 100000000ns index 10",
        "expExitCode": "0",
        "verifyCmd": "$TC action ls action gate",
        "matchPattern": "action order [0-9]*: .*base-time 200s.*index 10 ref",
        "matchCount": "1",
        "teardown": [
            "$TC actions flush action gate"
        ]
    },
    {
        "id": "a721",
        "name": "Add gate action with cycle-time",
        "category": [
            "actions",
            "gate"
        ],
        "plugins": {
           "requires": "nsPlugin"
        },
        "setup": [
            [
                "$TC action flush action gate",
                0,
                1,

Annotation

Implementation Notes