Commit c8b039c
committed
tracing: Have all triggers expect a file parameter
When the triggers were first created, they may not have had a file
parameter passed to them and things needed to be done generically.
But today, all triggers have a file parameter passed to them. Remove the
generic code and add a "if (WARN_ON_ONCE(!file))" to each trigger.
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Reviewed-by: Tom Zanussi <zanussi@kernel.org>
Link: https://patch.msgid.link/20260206101351.609d8906@gandalf.local.home
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>1 parent 2cdfe39 commit c8b039c
1 file changed
Lines changed: 24 additions & 38 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1347 | 1347 | | |
1348 | 1348 | | |
1349 | 1349 | | |
1350 | | - | |
1351 | | - | |
1352 | | - | |
1353 | | - | |
1354 | | - | |
| 1350 | + | |
1355 | 1351 | | |
1356 | | - | |
1357 | 1352 | | |
1358 | | - | |
| 1353 | + | |
1359 | 1354 | | |
1360 | 1355 | | |
1361 | | - | |
| 1356 | + | |
1362 | 1357 | | |
1363 | 1358 | | |
1364 | 1359 | | |
| |||
1368 | 1363 | | |
1369 | 1364 | | |
1370 | 1365 | | |
1371 | | - | |
1372 | | - | |
1373 | | - | |
1374 | | - | |
1375 | | - | |
1376 | | - | |
1377 | | - | |
| 1366 | + | |
| 1367 | + | |
| 1368 | + | |
| 1369 | + | |
| 1370 | + | |
1378 | 1371 | | |
1379 | 1372 | | |
1380 | 1373 | | |
| |||
1392 | 1385 | | |
1393 | 1386 | | |
1394 | 1387 | | |
1395 | | - | |
1396 | | - | |
1397 | | - | |
1398 | | - | |
1399 | | - | |
| 1388 | + | |
1400 | 1389 | | |
1401 | | - | |
1402 | 1390 | | |
1403 | | - | |
| 1391 | + | |
1404 | 1392 | | |
1405 | 1393 | | |
1406 | | - | |
| 1394 | + | |
1407 | 1395 | | |
1408 | 1396 | | |
1409 | 1397 | | |
| |||
1413 | 1401 | | |
1414 | 1402 | | |
1415 | 1403 | | |
1416 | | - | |
1417 | | - | |
1418 | | - | |
1419 | | - | |
1420 | | - | |
1421 | | - | |
1422 | | - | |
| 1404 | + | |
| 1405 | + | |
| 1406 | + | |
| 1407 | + | |
| 1408 | + | |
1423 | 1409 | | |
1424 | 1410 | | |
1425 | 1411 | | |
| |||
1481 | 1467 | | |
1482 | 1468 | | |
1483 | 1469 | | |
1484 | | - | |
1485 | | - | |
1486 | | - | |
1487 | | - | |
| 1470 | + | |
| 1471 | + | |
| 1472 | + | |
| 1473 | + | |
1488 | 1474 | | |
1489 | 1475 | | |
1490 | 1476 | | |
| |||
1570 | 1556 | | |
1571 | 1557 | | |
1572 | 1558 | | |
1573 | | - | |
1574 | | - | |
1575 | | - | |
1576 | | - | |
| 1559 | + | |
| 1560 | + | |
| 1561 | + | |
| 1562 | + | |
1577 | 1563 | | |
1578 | 1564 | | |
1579 | 1565 | | |
| |||
0 commit comments