~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/tools/testing/selftests/tc-testing/tc-tests/actions/sample.json

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /tools/testing/selftests/tc-testing/tc-tests/actions/sample.json (Architecture i386) and /tools/testing/selftests/tc-testing/tc-tests/actions/sample.json (Architecture ppc)


  1 [                                                   1 [
  2     {                                               2     {
  3         "id": "9784",                               3         "id": "9784",
  4         "name": "Add valid sample action with       4         "name": "Add valid sample action with mandatory arguments",
  5         "category": [                               5         "category": [
  6             "actions",                              6             "actions",
  7             "sample"                                7             "sample"
  8         ],                                          8         ],
  9         "plugins": {                                9         "plugins": {
 10            "requires": "nsPlugin"                  10            "requires": "nsPlugin"
 11         },                                         11         },
 12         "setup": [                                 12         "setup": [
 13             [                                      13             [
 14                 "$TC actions flush action samp     14                 "$TC actions flush action sample",
 15                 0,                                 15                 0,
 16                 1,                                 16                 1,
 17                 255                                17                 255
 18             ]                                      18             ]
 19         ],                                         19         ],
 20         "cmdUnderTest": "$TC actions add actio     20         "cmdUnderTest": "$TC actions add action sample rate 10 group 1 index 2",
 21         "expExitCode": "0",                        21         "expExitCode": "0",
 22         "verifyCmd": "$TC actions get action s     22         "verifyCmd": "$TC actions get action sample index 2",
 23         "matchPattern": "action order [0-9]+:      23         "matchPattern": "action order [0-9]+: sample rate 1/10 group 1.*index 2 ref",
 24         "matchCount": "1",                         24         "matchCount": "1",
 25         "teardown": [                              25         "teardown": [
 26             "$TC actions flush action sample"      26             "$TC actions flush action sample"
 27         ]                                          27         ]
 28     },                                             28     },
 29     {                                              29     {
 30         "id": "5c91",                              30         "id": "5c91",
 31         "name": "Add valid sample action with      31         "name": "Add valid sample action with mandatory arguments and continue control action",
 32         "category": [                              32         "category": [
 33             "actions",                             33             "actions",
 34             "sample"                               34             "sample"
 35         ],                                         35         ],
 36         "plugins": {                               36         "plugins": {
 37            "requires": "nsPlugin"                  37            "requires": "nsPlugin"
 38         },                                         38         },
 39         "setup": [                                 39         "setup": [
 40             [                                      40             [
 41                 "$TC actions flush action samp     41                 "$TC actions flush action sample",
 42                 0,                                 42                 0,
 43                 1,                                 43                 1,
 44                 255                                44                 255
 45             ]                                      45             ]
 46         ],                                         46         ],
 47         "cmdUnderTest": "$TC actions add actio     47         "cmdUnderTest": "$TC actions add action sample rate 700 group 2 continue index 2",
 48         "expExitCode": "0",                        48         "expExitCode": "0",
 49         "verifyCmd": "$TC actions get action s     49         "verifyCmd": "$TC actions get action sample index 2",
 50         "matchPattern": "action order [0-9]+:      50         "matchPattern": "action order [0-9]+: sample rate 1/700 group 2 continue.*index 2 ref",
 51         "matchCount": "1",                         51         "matchCount": "1",
 52         "teardown": [                              52         "teardown": [
 53             "$TC actions flush action sample"      53             "$TC actions flush action sample"
 54         ]                                          54         ]
 55     },                                             55     },
 56     {                                              56     {
 57         "id": "334b",                              57         "id": "334b",
 58         "name": "Add valid sample action with      58         "name": "Add valid sample action with mandatory arguments and drop control action",
 59         "category": [                              59         "category": [
 60             "actions",                             60             "actions",
 61             "sample"                               61             "sample"
 62         ],                                         62         ],
 63         "plugins": {                               63         "plugins": {
 64            "requires": "nsPlugin"                  64            "requires": "nsPlugin"
 65         },                                         65         },
 66         "setup": [                                 66         "setup": [
 67             [                                      67             [
 68                 "$TC actions flush action samp     68                 "$TC actions flush action sample",
 69                 0,                                 69                 0,
 70                 1,                                 70                 1,
 71                 255                                71                 255
 72             ]                                      72             ]
 73         ],                                         73         ],
 74         "cmdUnderTest": "$TC actions add actio     74         "cmdUnderTest": "$TC actions add action sample rate 10000 group 11 drop index 22",
 75         "expExitCode": "0",                        75         "expExitCode": "0",
 76         "verifyCmd": "$TC actions list action      76         "verifyCmd": "$TC actions list action sample",
 77         "matchPattern": "action order [0-9]+:      77         "matchPattern": "action order [0-9]+: sample rate 1/10000 group 11 drop.*index 22 ref",
 78         "matchCount": "1",                         78         "matchCount": "1",
 79         "teardown": [                              79         "teardown": [
 80             "$TC actions flush action sample"      80             "$TC actions flush action sample"
 81         ]                                          81         ]
 82     },                                             82     },
 83     {                                              83     {
 84         "id": "da69",                              84         "id": "da69",
 85         "name": "Add valid sample action with      85         "name": "Add valid sample action with mandatory arguments and reclassify control action",
 86         "category": [                              86         "category": [
 87             "actions",                             87             "actions",
 88             "sample"                               88             "sample"
 89         ],                                         89         ],
 90         "plugins": {                               90         "plugins": {
 91            "requires": "nsPlugin"                  91            "requires": "nsPlugin"
 92         },                                         92         },
 93         "setup": [                                 93         "setup": [
 94             [                                      94             [
 95                 "$TC actions flush action samp     95                 "$TC actions flush action sample",
 96                 0,                                 96                 0,
 97                 1,                                 97                 1,
 98                 255                                98                 255
 99             ]                                      99             ]
100         ],                                        100         ],
101         "cmdUnderTest": "$TC actions add actio    101         "cmdUnderTest": "$TC actions add action sample rate 20000 group 72 reclassify index 100",
102         "expExitCode": "0",                       102         "expExitCode": "0",
103         "verifyCmd": "$TC actions list action     103         "verifyCmd": "$TC actions list action sample",
104         "matchPattern": "action order [0-9]+:     104         "matchPattern": "action order [0-9]+: sample rate 1/20000 group 72 reclassify.*index 100 ref",
105         "matchCount": "1",                        105         "matchCount": "1",
106         "teardown": [                             106         "teardown": [
107             "$TC actions flush action sample"     107             "$TC actions flush action sample"
108         ]                                         108         ]
109     },                                            109     },
110     {                                             110     {
111         "id": "13ce",                             111         "id": "13ce",
112         "name": "Add valid sample action with     112         "name": "Add valid sample action with mandatory arguments and pipe control action",
113         "category": [                             113         "category": [
114             "actions",                            114             "actions",
115             "sample"                              115             "sample"
116         ],                                        116         ],
117         "plugins": {                              117         "plugins": {
118            "requires": "nsPlugin"                 118            "requires": "nsPlugin"
119         },                                        119         },
120         "setup": [                                120         "setup": [
121             [                                     121             [
122                 "$TC actions flush action samp    122                 "$TC actions flush action sample",
123                 0,                                123                 0,
124                 1,                                124                 1,
125                 255                               125                 255
126             ]                                     126             ]
127         ],                                        127         ],
128         "cmdUnderTest": "$TC actions add actio    128         "cmdUnderTest": "$TC actions add action sample rate 20 group 2 pipe index 100",
129         "expExitCode": "0",                       129         "expExitCode": "0",
130         "verifyCmd": "$TC actions list action     130         "verifyCmd": "$TC actions list action sample",
131         "matchPattern": "action order [0-9]+:     131         "matchPattern": "action order [0-9]+: sample rate 1/20 group 2 pipe.*index 100 ref",
132         "matchCount": "1",                        132         "matchCount": "1",
133         "teardown": [                             133         "teardown": [
134             "$TC actions flush action sample"     134             "$TC actions flush action sample"
135         ]                                         135         ]
136     },                                            136     },
137     {                                             137     {
138         "id": "1886",                             138         "id": "1886",
139         "name": "Add valid sample action with     139         "name": "Add valid sample action with mandatory arguments and jump control action",
140         "category": [                             140         "category": [
141             "actions",                            141             "actions",
142             "sample"                              142             "sample"
143         ],                                        143         ],
144         "plugins": {                              144         "plugins": {
145            "requires": "nsPlugin"                 145            "requires": "nsPlugin"
146         },                                        146         },
147         "setup": [                                147         "setup": [
148             [                                     148             [
149                 "$TC actions flush action samp    149                 "$TC actions flush action sample",
150                 0,                                150                 0,
151                 1,                                151                 1,
152                 255                               152                 255
153             ]                                     153             ]
154         ],                                        154         ],
155         "cmdUnderTest": "$TC actions add actio    155         "cmdUnderTest": "$TC actions add action sample rate 700 group 25 jump 4 index 200",
156         "expExitCode": "0",                       156         "expExitCode": "0",
157         "verifyCmd": "$TC actions get action s    157         "verifyCmd": "$TC actions get action sample index 200",
158         "matchPattern": "action order [0-9]+:     158         "matchPattern": "action order [0-9]+: sample rate 1/700 group 25 jump 4.*index 200 ref",
159         "matchCount": "1",                        159         "matchCount": "1",
160         "teardown": [                             160         "teardown": [
161             "$TC actions flush action sample"     161             "$TC actions flush action sample"
162         ]                                         162         ]
163     },                                            163     },
164     {                                             164     {
165         "id": "7571",                             165         "id": "7571",
166         "name": "Add sample action with invali    166         "name": "Add sample action with invalid rate",
167         "category": [                             167         "category": [
168             "actions",                            168             "actions",
169             "sample"                              169             "sample"
170         ],                                        170         ],
171         "plugins": {                              171         "plugins": {
172            "requires": "nsPlugin"                 172            "requires": "nsPlugin"
173         },                                        173         },
174         "setup": [                                174         "setup": [
175             [                                     175             [
176                 "$TC actions flush action samp    176                 "$TC actions flush action sample",
177                 0,                                177                 0,
178                 1,                                178                 1,
179                 255                               179                 255
180             ]                                     180             ]
181         ],                                        181         ],
182         "cmdUnderTest": "$TC actions add actio    182         "cmdUnderTest": "$TC actions add action sample rate 0 group 1 index 2",
183         "expExitCode": "255",                     183         "expExitCode": "255",
184         "verifyCmd": "$TC actions get action s    184         "verifyCmd": "$TC actions get action sample index 2",
185         "matchPattern": "action order [0-9]+:     185         "matchPattern": "action order [0-9]+: sample rate 1/0 group 1.*index 2 ref",
186         "matchCount": "0",                        186         "matchCount": "0",
187         "teardown": [                             187         "teardown": [
188             "$TC actions flush action sample"     188             "$TC actions flush action sample"
189         ]                                         189         ]
190     },                                            190     },
191     {                                             191     {
192         "id": "b6d4",                             192         "id": "b6d4",
193         "name": "Add sample action with mandat    193         "name": "Add sample action with mandatory arguments and invalid control action",
194         "category": [                             194         "category": [
195             "actions",                            195             "actions",
196             "sample"                              196             "sample"
197         ],                                        197         ],
198         "plugins": {                              198         "plugins": {
199            "requires": "nsPlugin"                 199            "requires": "nsPlugin"
200         },                                        200         },
201         "setup": [                                201         "setup": [
202             [                                     202             [
203                 "$TC actions flush action samp    203                 "$TC actions flush action sample",
204                 0,                                204                 0,
205                 1,                                205                 1,
206                 255                               206                 255
207             ]                                     207             ]
208         ],                                        208         ],
209         "cmdUnderTest": "$TC actions add actio    209         "cmdUnderTest": "$TC actions add action sample rate 200000 group 52 foo index 1",
210         "expExitCode": "255",                     210         "expExitCode": "255",
211         "verifyCmd": "$TC actions list action     211         "verifyCmd": "$TC actions list action sample",
212         "matchPattern": "action order [0-9]+:     212         "matchPattern": "action order [0-9]+: sample rate 1/200000 group 52 foo.*index 1 ref",
213         "matchCount": "0",                        213         "matchCount": "0",
214         "teardown": []                            214         "teardown": []
215     },                                            215     },
216     {                                             216     {
217         "id": "a874",                             217         "id": "a874",
218         "name": "Add invalid sample action wit    218         "name": "Add invalid sample action without mandatory arguments",
219         "category": [                             219         "category": [
220             "actions",                            220             "actions",
221             "sample"                              221             "sample"
222         ],                                        222         ],
223         "plugins": {                              223         "plugins": {
224            "requires": "nsPlugin"                 224            "requires": "nsPlugin"
225         },                                        225         },
226         "setup": [                                226         "setup": [
227             [                                     227             [
228                 "$TC actions flush action samp    228                 "$TC actions flush action sample",
229                 0,                                229                 0,
230                 1,                                230                 1,
231                 255                               231                 255
232             ]                                     232             ]
233         ],                                        233         ],
234         "cmdUnderTest": "$TC actions add actio    234         "cmdUnderTest": "$TC actions add action sample index 1",
235         "expExitCode": "255",                     235         "expExitCode": "255",
236         "verifyCmd": "$TC actions list action     236         "verifyCmd": "$TC actions list action sample",
237         "matchPattern": "action order [0-9]+:     237         "matchPattern": "action order [0-9]+: sample.*index 1 ref",
238         "matchCount": "0",                        238         "matchCount": "0",
239         "teardown": []                            239         "teardown": []
240     },                                            240     },
241     {                                             241     {
242         "id": "ac01",                             242         "id": "ac01",
243         "name": "Add invalid sample action wit    243         "name": "Add invalid sample action without mandatory argument rate",
244         "category": [                             244         "category": [
245             "actions",                            245             "actions",
246             "sample"                              246             "sample"
247         ],                                        247         ],
248         "plugins": {                              248         "plugins": {
249            "requires": "nsPlugin"                 249            "requires": "nsPlugin"
250         },                                        250         },
251         "setup": [                                251         "setup": [
252             [                                     252             [
253                 "$TC actions flush action samp    253                 "$TC actions flush action sample",
254                 0,                                254                 0,
255                 1,                                255                 1,
256                 255                               256                 255
257             ]                                     257             ]
258         ],                                        258         ],
259         "cmdUnderTest": "$TC actions add actio    259         "cmdUnderTest": "$TC actions add action sample group 10 index 1",
260         "expExitCode": "255",                     260         "expExitCode": "255",
261         "verifyCmd": "$TC actions list action     261         "verifyCmd": "$TC actions list action sample",
262         "matchPattern": "action order [0-9]+:     262         "matchPattern": "action order [0-9]+: sample.*group 10.*index 1 ref",
263         "matchCount": "0",                        263         "matchCount": "0",
264         "teardown": []                            264         "teardown": []
265     },                                            265     },
266     {                                             266     {
267         "id": "4203",                             267         "id": "4203",
268         "name": "Add invalid sample action wit    268         "name": "Add invalid sample action without mandatory argument group",
269         "category": [                             269         "category": [
270             "actions",                            270             "actions",
271             "sample"                              271             "sample"
272         ],                                        272         ],
273         "plugins": {                              273         "plugins": {
274            "requires": "nsPlugin"                 274            "requires": "nsPlugin"
275         },                                        275         },
276         "setup": [                                276         "setup": [
277             [                                     277             [
278                 "$TC actions flush action samp    278                 "$TC actions flush action sample",
279                 0,                                279                 0,
280                 1,                                280                 1,
281                 255                               281                 255
282             ]                                     282             ]
283         ],                                        283         ],
284         "cmdUnderTest": "$TC actions add actio    284         "cmdUnderTest": "$TC actions add action sample rate 100 index 10",
285         "expExitCode": "255",                     285         "expExitCode": "255",
286         "verifyCmd": "$TC actions get action s    286         "verifyCmd": "$TC actions get action sample index 10",
287         "matchPattern": "action order [0-9]+:     287         "matchPattern": "action order [0-9]+: sample rate 1/100.*index 10 ref",
288         "matchCount": "0",                        288         "matchCount": "0",
289         "teardown": []                            289         "teardown": []
290     },                                            290     },
291     {                                             291     {
292         "id": "14a7",                             292         "id": "14a7",
293         "name": "Add invalid sample action wit    293         "name": "Add invalid sample action without mandatory argument group",
294         "category": [                             294         "category": [
295             "actions",                            295             "actions",
296             "sample"                              296             "sample"
297         ],                                        297         ],
298         "plugins": {                              298         "plugins": {
299            "requires": "nsPlugin"                 299            "requires": "nsPlugin"
300         },                                        300         },
301         "setup": [                                301         "setup": [
302             [                                     302             [
303                 "$TC actions flush action samp    303                 "$TC actions flush action sample",
304                 0,                                304                 0,
305                 1,                                305                 1,
306                 255                               306                 255
307             ]                                     307             ]
308         ],                                        308         ],
309         "cmdUnderTest": "$TC actions add actio    309         "cmdUnderTest": "$TC actions add action sample rate 100 index 10",
310         "expExitCode": "255",                     310         "expExitCode": "255",
311         "verifyCmd": "$TC actions get action s    311         "verifyCmd": "$TC actions get action sample index 10",
312         "matchPattern": "action order [0-9]+:     312         "matchPattern": "action order [0-9]+: sample rate 1/100.*index 10 ref",
313         "matchCount": "0",                        313         "matchCount": "0",
314         "teardown": []                            314         "teardown": []
315     },                                            315     },
316     {                                             316     {
317         "id": "8f2e",                             317         "id": "8f2e",
318         "name": "Add valid sample action with     318         "name": "Add valid sample action with trunc argument",
319         "category": [                             319         "category": [
320             "actions",                            320             "actions",
321             "sample"                              321             "sample"
322         ],                                        322         ],
323         "plugins": {                              323         "plugins": {
324            "requires": "nsPlugin"                 324            "requires": "nsPlugin"
325         },                                        325         },
326         "setup": [                                326         "setup": [
327             [                                     327             [
328                 "$TC actions flush action samp    328                 "$TC actions flush action sample",
329                 0,                                329                 0,
330                 1,                                330                 1,
331                 255                               331                 255
332             ]                                     332             ]
333         ],                                        333         ],
334         "cmdUnderTest": "$TC actions add actio    334         "cmdUnderTest": "$TC actions add action sample rate 1024 group 4 trunc 1024 index 10",
335         "expExitCode": "0",                       335         "expExitCode": "0",
336         "verifyCmd": "$TC actions get action s    336         "verifyCmd": "$TC actions get action sample index 10",
337         "matchPattern": "action order [0-9]+:     337         "matchPattern": "action order [0-9]+: sample rate 1/1024 group 4 trunc_size 1024 pipe.*index 10 ref",
338         "matchCount": "1",                        338         "matchCount": "1",
339         "teardown": [                             339         "teardown": [
340             "$TC actions flush action sample"     340             "$TC actions flush action sample"
341         ]                                         341         ]
342     },                                            342     },
343     {                                             343     {
344         "id": "45f8",                             344         "id": "45f8",
345         "name": "Add sample action with maximu    345         "name": "Add sample action with maximum rate argument",
346         "category": [                             346         "category": [
347             "actions",                            347             "actions",
348             "sample"                              348             "sample"
349         ],                                        349         ],
350         "plugins": {                              350         "plugins": {
351            "requires": "nsPlugin"                 351            "requires": "nsPlugin"
352         },                                        352         },
353         "setup": [                                353         "setup": [
354             [                                     354             [
355                 "$TC actions flush action samp    355                 "$TC actions flush action sample",
356                 0,                                356                 0,
357                 1,                                357                 1,
358                 255                               358                 255
359             ]                                     359             ]
360         ],                                        360         ],
361         "cmdUnderTest": "$TC actions add actio    361         "cmdUnderTest": "$TC actions add action sample rate 4294967295 group 4 index 10",
362         "expExitCode": "0",                       362         "expExitCode": "0",
363         "verifyCmd": "$TC actions get action s    363         "verifyCmd": "$TC actions get action sample index 10",
364         "matchPattern": "action order [0-9]+:     364         "matchPattern": "action order [0-9]+: sample rate 1/4294967295 group 4 pipe.*index 10 ref",
365         "matchCount": "1",                        365         "matchCount": "1",
366         "teardown": [                             366         "teardown": [
367             "$TC actions flush action sample"     367             "$TC actions flush action sample"
368         ]                                         368         ]
369     },                                            369     },
370     {                                             370     {
371         "id": "ad0c",                             371         "id": "ad0c",
372         "name": "Add sample action with maximu    372         "name": "Add sample action with maximum trunc argument",
373         "category": [                             373         "category": [
374             "actions",                            374             "actions",
375             "sample"                              375             "sample"
376         ],                                        376         ],
377         "plugins": {                              377         "plugins": {
378            "requires": "nsPlugin"                 378            "requires": "nsPlugin"
379         },                                        379         },
380         "setup": [                                380         "setup": [
381             [                                     381             [
382                 "$TC actions flush action samp    382                 "$TC actions flush action sample",
383                 0,                                383                 0,
384                 1,                                384                 1,
385                 255                               385                 255
386             ]                                     386             ]
387         ],                                        387         ],
388         "cmdUnderTest": "$TC actions add actio    388         "cmdUnderTest": "$TC actions add action sample rate 16000 group 4 trunc 4294967295 index 10",
389         "expExitCode": "0",                       389         "expExitCode": "0",
390         "verifyCmd": "$TC actions get action s    390         "verifyCmd": "$TC actions get action sample index 10",
391         "matchPattern": "action order [0-9]+:     391         "matchPattern": "action order [0-9]+: sample rate 1/16000 group 4 trunc_size 4294967295 pipe.*index 10 ref",
392         "matchCount": "1",                        392         "matchCount": "1",
393         "teardown": [                             393         "teardown": [
394             "$TC actions flush action sample"     394             "$TC actions flush action sample"
395         ]                                         395         ]
396     },                                            396     },
397     {                                             397     {
398         "id": "83a9",                             398         "id": "83a9",
399         "name": "Add sample action with maximu    399         "name": "Add sample action with maximum group argument",
400         "category": [                             400         "category": [
401             "actions",                            401             "actions",
402             "sample"                              402             "sample"
403         ],                                        403         ],
404         "plugins": {                              404         "plugins": {
405            "requires": "nsPlugin"                 405            "requires": "nsPlugin"
406         },                                        406         },
407         "setup": [                                407         "setup": [
408             [                                     408             [
409                 "$TC actions flush action samp    409                 "$TC actions flush action sample",
410                 0,                                410                 0,
411                 1,                                411                 1,
412                 255                               412                 255
413             ]                                     413             ]
414         ],                                        414         ],
415         "cmdUnderTest": "$TC actions add actio    415         "cmdUnderTest": "$TC actions add action sample rate 4294 group 4294967295 index 1",
416         "expExitCode": "0",                       416         "expExitCode": "0",
417         "verifyCmd": "$TC actions get action s    417         "verifyCmd": "$TC actions get action sample index 1",
418         "matchPattern": "action order [0-9]+:     418         "matchPattern": "action order [0-9]+: sample rate 1/4294 group 4294967295 pipe.*index 1 ref",
419         "matchCount": "1",                        419         "matchCount": "1",
420         "teardown": [                             420         "teardown": [
421             "$TC actions flush action sample"     421             "$TC actions flush action sample"
422         ]                                         422         ]
423     },                                            423     },
424     {                                             424     {
425         "id": "ed27",                             425         "id": "ed27",
426         "name": "Add sample action with invali    426         "name": "Add sample action with invalid rate argument",
427         "category": [                             427         "category": [
428             "actions",                            428             "actions",
429             "sample"                              429             "sample"
430         ],                                        430         ],
431         "plugins": {                              431         "plugins": {
432            "requires": "nsPlugin"                 432            "requires": "nsPlugin"
433         },                                        433         },
434         "setup": [                                434         "setup": [
435             [                                     435             [
436                 "$TC actions flush action samp    436                 "$TC actions flush action sample",
437                 0,                                437                 0,
438                 1,                                438                 1,
439                 255                               439                 255
440             ]                                     440             ]
441         ],                                        441         ],
442         "cmdUnderTest": "$TC actions add actio    442         "cmdUnderTest": "$TC actions add action sample rate 4294967296 group 4 index 10",
443         "expExitCode": "255",                     443         "expExitCode": "255",
444         "verifyCmd": "$TC actions get action s    444         "verifyCmd": "$TC actions get action sample index 10",
445         "matchPattern": "action order [0-9]+:     445         "matchPattern": "action order [0-9]+: sample rate 1/4294967296 group 4 pipe.*index 10 ref",
446         "matchCount": "0",                        446         "matchCount": "0",
447         "teardown": []                            447         "teardown": []
448     },                                            448     },
449     {                                             449     {
450         "id": "2eae",                             450         "id": "2eae",
451         "name": "Add sample action with invali    451         "name": "Add sample action with invalid group argument",
452         "category": [                             452         "category": [
453             "actions",                            453             "actions",
454             "sample"                              454             "sample"
455         ],                                        455         ],
456         "plugins": {                              456         "plugins": {
457            "requires": "nsPlugin"                 457            "requires": "nsPlugin"
458         },                                        458         },
459         "setup": [                                459         "setup": [
460             [                                     460             [
461                 "$TC actions flush action samp    461                 "$TC actions flush action sample",
462                 0,                                462                 0,
463                 1,                                463                 1,
464                 255                               464                 255
465             ]                                     465             ]
466         ],                                        466         ],
467         "cmdUnderTest": "$TC actions add actio    467         "cmdUnderTest": "$TC actions add action sample rate 4098 group 5294967299 continue index 1",
468         "expExitCode": "255",                     468         "expExitCode": "255",
469         "verifyCmd": "$TC actions get action s    469         "verifyCmd": "$TC actions get action sample index 1",
470         "matchPattern": "action order [0-9]+:     470         "matchPattern": "action order [0-9]+: sample rate 1/4098 group 5294967299 continue.*index 1 ref",
471         "matchCount": "0",                        471         "matchCount": "0",
472         "teardown": []                            472         "teardown": []
473     },                                            473     },
474     {                                             474     {
475         "id": "6ff3",                             475         "id": "6ff3",
476         "name": "Add sample action with invali    476         "name": "Add sample action with invalid trunc size",
477         "category": [                             477         "category": [
478             "actions",                            478             "actions",
479             "sample"                              479             "sample"
480         ],                                        480         ],
481         "plugins": {                              481         "plugins": {
482            "requires": "nsPlugin"                 482            "requires": "nsPlugin"
483         },                                        483         },
484         "setup": [                                484         "setup": [
485             [                                     485             [
486                 "$TC actions flush action samp    486                 "$TC actions flush action sample",
487                 0,                                487                 0,
488                 1,                                488                 1,
489                 255                               489                 255
490             ]                                     490             ]
491         ],                                        491         ],
492         "cmdUnderTest": "$TC actions add actio    492         "cmdUnderTest": "$TC actions add action sample rate 1024 group 4 trunc 112233445566 index 11",
493         "expExitCode": "255",                     493         "expExitCode": "255",
494         "verifyCmd": "$TC actions get action s    494         "verifyCmd": "$TC actions get action sample index 11",
495         "matchPattern": "action order [0-9]+:     495         "matchPattern": "action order [0-9]+: sample rate 1/1024 group 4 trunc_size 112233445566.*index 11 ref",
496         "matchCount": "0",                        496         "matchCount": "0",
497         "teardown": []                            497         "teardown": []
498     },                                            498     },
499     {                                             499     {
500         "id": "2b2a",                             500         "id": "2b2a",
501         "name": "Add sample action with invali    501         "name": "Add sample action with invalid index",
502         "category": [                             502         "category": [
503             "actions",                            503             "actions",
504             "sample"                              504             "sample"
505         ],                                        505         ],
506         "plugins": {                              506         "plugins": {
507            "requires": "nsPlugin"                 507            "requires": "nsPlugin"
508         },                                        508         },
509         "setup": [                                509         "setup": [
510             [                                     510             [
511                 "$TC actions flush action samp    511                 "$TC actions flush action sample",
512                 0,                                512                 0,
513                 1,                                513                 1,
514                 255                               514                 255
515             ]                                     515             ]
516         ],                                        516         ],
517         "cmdUnderTest": "$TC actions add actio    517         "cmdUnderTest": "$TC actions add action sample rate 1024 group 4 index 5294967299",
518         "expExitCode": "255",                     518         "expExitCode": "255",
519         "verifyCmd": "$TC actions get action s    519         "verifyCmd": "$TC actions get action sample index 5294967299",
520         "matchPattern": "action order [0-9]+:     520         "matchPattern": "action order [0-9]+: sample rate 1/1024 group 4 pipe.*index 5294967299 ref",
521         "matchCount": "0",                        521         "matchCount": "0",
522         "teardown": []                            522         "teardown": []
523     },                                            523     },
524     {                                             524     {
525         "id": "dee2",                             525         "id": "dee2",
526         "name": "Add sample action with maximu    526         "name": "Add sample action with maximum allowed index",
527         "category": [                             527         "category": [
528             "actions",                            528             "actions",
529             "sample"                              529             "sample"
530         ],                                        530         ],
531         "plugins": {                              531         "plugins": {
532            "requires": "nsPlugin"                 532            "requires": "nsPlugin"
533         },                                        533         },
534         "setup": [                                534         "setup": [
535             [                                     535             [
536                 "$TC actions flush action samp    536                 "$TC actions flush action sample",
537                 0,                                537                 0,
538                 1,                                538                 1,
539                 255                               539                 255
540             ]                                     540             ]
541         ],                                        541         ],
542         "cmdUnderTest": "$TC actions add actio    542         "cmdUnderTest": "$TC actions add action sample rate 1024 group 4 index 4294967295",
543         "expExitCode": "0",                       543         "expExitCode": "0",
544         "verifyCmd": "$TC actions get action s    544         "verifyCmd": "$TC actions get action sample index 4294967295",
545         "matchPattern": "action order [0-9]+:     545         "matchPattern": "action order [0-9]+: sample rate 1/1024 group 4 pipe.*index 4294967295 ref",
546         "matchCount": "1",                        546         "matchCount": "1",
547         "teardown": [                             547         "teardown": [
548             "$TC actions flush action sample"     548             "$TC actions flush action sample"
549         ]                                         549         ]
550     },                                            550     },
551     {                                             551     {
552         "id": "560e",                             552         "id": "560e",
553         "name": "Add sample action with cookie    553         "name": "Add sample action with cookie",
554         "category": [                             554         "category": [
555             "actions",                            555             "actions",
556             "sample"                              556             "sample"
557         ],                                        557         ],
558         "plugins": {                              558         "plugins": {
559            "requires": "nsPlugin"                 559            "requires": "nsPlugin"
560         },                                        560         },
561         "setup": [                                561         "setup": [
562             [                                     562             [
563                 "$TC actions flush action samp    563                 "$TC actions flush action sample",
564                 0,                                564                 0,
565                 1,                                565                 1,
566                 255                               566                 255
567             ]                                     567             ]
568         ],                                        568         ],
569         "cmdUnderTest": "$TC actions add actio    569         "cmdUnderTest": "$TC actions add action sample rate 1024 group 4 index 45 cookie aabbccdd",
570         "expExitCode": "0",                       570         "expExitCode": "0",
571         "verifyCmd": "$TC actions get action s    571         "verifyCmd": "$TC actions get action sample index 45",
572         "matchPattern": "action order [0-9]+:     572         "matchPattern": "action order [0-9]+: sample rate 1/1024 group 4 pipe.*index 45.*cookie aabbccdd",
573         "matchCount": "1",                        573         "matchCount": "1",
574         "teardown": [                             574         "teardown": [
575             "$TC actions flush action sample"     575             "$TC actions flush action sample"
576         ]                                         576         ]
577     },                                            577     },
578     {                                             578     {
579         "id": "704a",                             579         "id": "704a",
580         "name": "Replace existing sample actio    580         "name": "Replace existing sample action with new rate argument",
581         "category": [                             581         "category": [
582             "actions",                            582             "actions",
583             "sample"                              583             "sample"
584         ],                                        584         ],
585         "plugins": {                              585         "plugins": {
586            "requires": "nsPlugin"                 586            "requires": "nsPlugin"
587         },                                        587         },
588         "setup": [                                588         "setup": [
589             [                                     589             [
590                 "$TC actions flush action samp    590                 "$TC actions flush action sample",
591                 0,                                591                 0,
592                 1,                                592                 1,
593                 255                               593                 255
594             ],                                    594             ],
595             "$TC actions add action sample rat    595             "$TC actions add action sample rate 1024 group 4 index 4"
596         ],                                        596         ],
597         "cmdUnderTest": "$TC actions replace a    597         "cmdUnderTest": "$TC actions replace action sample rate 2048 group 4 index 4",
598         "expExitCode": "0",                       598         "expExitCode": "0",
599         "verifyCmd": "$TC actions list action     599         "verifyCmd": "$TC actions list action sample",
600         "matchPattern": "action order [0-9]+:     600         "matchPattern": "action order [0-9]+: sample rate 1/2048 group 4 pipe.*index 4",
601         "matchCount": "1",                        601         "matchCount": "1",
602         "teardown": [                             602         "teardown": [
603             "$TC actions flush action sample"     603             "$TC actions flush action sample"
604         ]                                         604         ]
605     },                                            605     },
606     {                                             606     {
607         "id": "60eb",                             607         "id": "60eb",
608         "name": "Replace existing sample actio    608         "name": "Replace existing sample action with new group argument",
609         "category": [                             609         "category": [
610             "actions",                            610             "actions",
611             "sample"                              611             "sample"
612         ],                                        612         ],
613         "plugins": {                              613         "plugins": {
614            "requires": "nsPlugin"                 614            "requires": "nsPlugin"
615         },                                        615         },
616         "setup": [                                616         "setup": [
617             [                                     617             [
618                 "$TC actions flush action samp    618                 "$TC actions flush action sample",
619                 0,                                619                 0,
620                 1,                                620                 1,
621                 255                               621                 255
622             ],                                    622             ],
623             "$TC actions add action sample rat    623             "$TC actions add action sample rate 1024 group 4 index 4"
624         ],                                        624         ],
625         "cmdUnderTest": "$TC actions replace a    625         "cmdUnderTest": "$TC actions replace action sample rate 1024 group 7 index 4",
626         "expExitCode": "0",                       626         "expExitCode": "0",
627         "verifyCmd": "$TC actions list action     627         "verifyCmd": "$TC actions list action sample",
628         "matchPattern": "action order [0-9]+:     628         "matchPattern": "action order [0-9]+: sample rate 1/1024 group 7 pipe.*index 4",
629         "matchCount": "1",                        629         "matchCount": "1",
630         "teardown": [                             630         "teardown": [
631             "$TC actions flush action sample"     631             "$TC actions flush action sample"
632         ]                                         632         ]
633     },                                            633     },
634     {                                             634     {
635         "id": "2cce",                             635         "id": "2cce",
636         "name": "Replace existing sample actio    636         "name": "Replace existing sample action with new trunc argument",
637         "category": [                             637         "category": [
638             "actions",                            638             "actions",
639             "sample"                              639             "sample"
640         ],                                        640         ],
641         "plugins": {                              641         "plugins": {
642            "requires": "nsPlugin"                 642            "requires": "nsPlugin"
643         },                                        643         },
644         "setup": [                                644         "setup": [
645             [                                     645             [
646                 "$TC actions flush action samp    646                 "$TC actions flush action sample",
647                 0,                                647                 0,
648                 1,                                648                 1,
649                 255                               649                 255
650             ],                                    650             ],
651             "$TC actions add action sample rat    651             "$TC actions add action sample rate 1024 group 4 trunc 48 index 4"
652         ],                                        652         ],
653         "cmdUnderTest": "$TC actions replace a    653         "cmdUnderTest": "$TC actions replace action sample rate 1024 group 7 trunc 64 index 4",
654         "expExitCode": "0",                       654         "expExitCode": "0",
655         "verifyCmd": "$TC actions list action     655         "verifyCmd": "$TC actions list action sample",
656         "matchPattern": "action order [0-9]+:     656         "matchPattern": "action order [0-9]+: sample rate 1/1024 group 7 trunc_size 64 pipe.*index 4",
657         "matchCount": "1",                        657         "matchCount": "1",
658         "teardown": [                             658         "teardown": [
659             "$TC actions flush action sample"     659             "$TC actions flush action sample"
660         ]                                         660         ]
661     },                                            661     },
662     {                                             662     {
663         "id": "59d1",                             663         "id": "59d1",
664         "name": "Replace existing sample actio    664         "name": "Replace existing sample action with new control argument",
665         "category": [                             665         "category": [
666             "actions",                            666             "actions",
667             "sample"                              667             "sample"
668         ],                                        668         ],
669         "plugins": {                              669         "plugins": {
670            "requires": "nsPlugin"                 670            "requires": "nsPlugin"
671         },                                        671         },
672         "setup": [                                672         "setup": [
673             [                                     673             [
674                 "$TC actions flush action samp    674                 "$TC actions flush action sample",
675                 0,                                675                 0,
676                 1,                                676                 1,
677                 255                               677                 255
678             ],                                    678             ],
679             "$TC actions add action sample rat    679             "$TC actions add action sample rate 1024 group 4 reclassify index 4"
680         ],                                        680         ],
681         "cmdUnderTest": "$TC actions replace a    681         "cmdUnderTest": "$TC actions replace action sample rate 1024 group 7 pipe index 4",
682         "expExitCode": "0",                       682         "expExitCode": "0",
683         "verifyCmd": "$TC actions list action     683         "verifyCmd": "$TC actions list action sample",
684         "matchPattern": "action order [0-9]+:     684         "matchPattern": "action order [0-9]+: sample rate 1/1024 group 7 pipe.*index 4",
685         "matchCount": "1",                        685         "matchCount": "1",
686         "teardown": [                             686         "teardown": [
687             "$TC actions flush action sample"     687             "$TC actions flush action sample"
688         ]                                         688         ]
689     },                                            689     },
690     {                                             690     {
691         "id": "0a6e",                             691         "id": "0a6e",
692         "name": "Replace sample action with in    692         "name": "Replace sample action with invalid goto chain control",
693         "category": [                             693         "category": [
694             "actions",                            694             "actions",
695             "sample"                              695             "sample"
696         ],                                        696         ],
697         "plugins": {                              697         "plugins": {
698            "requires": "nsPlugin"                 698            "requires": "nsPlugin"
699         },                                        699         },
700         "setup": [                                700         "setup": [
701             [                                     701             [
702                 "$TC actions flush action samp    702                 "$TC actions flush action sample",
703                 0,                                703                 0,
704                 1,                                704                 1,
705                 255                               705                 255
706             ],                                    706             ],
707             "$TC actions add action sample rat    707             "$TC actions add action sample rate 1024 group 4 pass index 90"
708         ],                                        708         ],
709         "cmdUnderTest": "$TC actions replace a    709         "cmdUnderTest": "$TC actions replace action sample rate 1024 group 7 goto chain 42 index 90 cookie c1a0c1a0",
710         "expExitCode": "255",                     710         "expExitCode": "255",
711         "verifyCmd": "$TC actions list action     711         "verifyCmd": "$TC actions list action sample",
712         "matchPattern": "action order [0-9]+:     712         "matchPattern": "action order [0-9]+: sample rate 1/1024 group 4 pass.*index 90",
713         "matchCount": "1",                        713         "matchCount": "1",
714         "teardown": [                             714         "teardown": [
715             "$TC actions flush action sample"     715             "$TC actions flush action sample"
716         ]                                         716         ]
717     },                                            717     },
718     {                                             718     {
719         "id": "3872",                             719         "id": "3872",
720         "name": "Delete sample action with val    720         "name": "Delete sample action with valid index",
721         "category": [                             721         "category": [
722             "actions",                            722             "actions",
723             "sample"                              723             "sample"
724         ],                                        724         ],
725         "plugins": {                              725         "plugins": {
726            "requires": "nsPlugin"                 726            "requires": "nsPlugin"
727         },                                        727         },
728         "setup": [                                728         "setup": [
729             [                                     729             [
730                 "$TC actions flush action samp    730                 "$TC actions flush action sample",
731                 0,                                731                 0,
732                 1,                                732                 1,
733                 255                               733                 255
734             ],                                    734             ],
735             "$TC actions add action sample rat    735             "$TC actions add action sample rate 10 group 1 index 20"
736         ],                                        736         ],
737         "cmdUnderTest": "$TC actions del actio    737         "cmdUnderTest": "$TC actions del action sample index 20",
738         "expExitCode": "0",                       738         "expExitCode": "0",
739         "verifyCmd": "$TC actions get action s    739         "verifyCmd": "$TC actions get action sample index 20",
740         "matchPattern": "action order [0-9]+:     740         "matchPattern": "action order [0-9]+: sample rate 1/10 group 1.*index 20 ref",
741         "matchCount": "0",                        741         "matchCount": "0",
742         "teardown": [                             742         "teardown": [
743             "$TC actions flush action sample"     743             "$TC actions flush action sample"
744         ]                                         744         ]
745     },                                            745     },
746     {                                             746     {
747         "id": "a394",                             747         "id": "a394",
748         "name": "Delete sample action with inv    748         "name": "Delete sample action with invalid index",
749         "category": [                             749         "category": [
750             "actions",                            750             "actions",
751             "sample"                              751             "sample"
752         ],                                        752         ],
753         "plugins": {                              753         "plugins": {
754            "requires": "nsPlugin"                 754            "requires": "nsPlugin"
755         },                                        755         },
756         "setup": [                                756         "setup": [
757             [                                     757             [
758                 "$TC actions flush action samp    758                 "$TC actions flush action sample",
759                 0,                                759                 0,
760                 1,                                760                 1,
761                 255                               761                 255
762             ],                                    762             ],
763             "$TC actions add action sample rat    763             "$TC actions add action sample rate 10 group 1 index 20"
764         ],                                        764         ],
765         "cmdUnderTest": "$TC actions del actio    765         "cmdUnderTest": "$TC actions del action sample index 10",
766         "expExitCode": "255",                     766         "expExitCode": "255",
767         "verifyCmd": "$TC actions get action s    767         "verifyCmd": "$TC actions get action sample index 20",
768         "matchPattern": "action order [0-9]+:     768         "matchPattern": "action order [0-9]+: sample rate 1/10 group 1.*index 20 ref",
769         "matchCount": "1",                        769         "matchCount": "1",
770         "teardown": [                             770         "teardown": [
771             "$TC actions flush action sample"     771             "$TC actions flush action sample"
772         ]                                         772         ]
773     }                                             773     }
774 ]                                                 774 ]
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php