Commit 306f921
perf sched map: Add --fuzzy-name option for fuzzy matching in task names
The --fuzzy-name option can be used if fuzzy name matching is required.
For example, "taskname" can be matched to any string that contains
"taskname" as its substring.
Sample output for --task-name wdav --fuzzy-name
=============
. *A0 . . . . - . 131040.641346 secs A0 => wdavdaemon:62509
. A0 *B0 . . . - . 131040.641378 secs B0 => wdavdaemon:62274
. *- B0 . . . - . 131040.641379 secs
*C0 . B0 . . . . . 131040.641572 secs C0 => wdavdaemon:62283
C0 . B0 . *D0 . . . 131040.641572 secs D0 => wdavdaemon:62277
C0 . B0 . D0 . *E0 . 131040.641578 secs E0 => wdavdaemon:62270
*- . B0 . D0 . E0 . 131040.641581 secs
Suggested-by: Chen Yu <yu.c.chen@intel.com>
Reviewed-and-tested-by: Athira Rajeev <atrajeev@linux.vnet.ibm.com>
Signed-off-by: Madadi Vineeth Reddy <vineethr@linux.ibm.com>
Link: https://lore.kernel.org/r/20240707182716.22054-4-vineethr@linux.ibm.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>1 parent 9cc0afe commit 306f921
2 files changed
Lines changed: 16 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
140 | 143 | | |
141 | 144 | | |
142 | 145 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| 161 | + | |
161 | 162 | | |
162 | 163 | | |
163 | 164 | | |
| |||
1541 | 1542 | | |
1542 | 1543 | | |
1543 | 1544 | | |
1544 | | - | |
| 1545 | + | |
1545 | 1546 | | |
| 1547 | + | |
| 1548 | + | |
1546 | 1549 | | |
1547 | 1550 | | |
1548 | 1551 | | |
1549 | | - | |
| 1552 | + | |
| 1553 | + | |
| 1554 | + | |
1550 | 1555 | | |
1551 | 1556 | | |
1552 | 1557 | | |
| |||
1622 | 1627 | | |
1623 | 1628 | | |
1624 | 1629 | | |
1625 | | - | |
1626 | 1630 | | |
1627 | 1631 | | |
1628 | 1632 | | |
| |||
1674 | 1678 | | |
1675 | 1679 | | |
1676 | 1680 | | |
1677 | | - | |
| 1681 | + | |
1678 | 1682 | | |
1679 | 1683 | | |
1680 | 1684 | | |
| |||
1703 | 1707 | | |
1704 | 1708 | | |
1705 | 1709 | | |
1706 | | - | |
1707 | | - | |
| 1710 | + | |
| 1711 | + | |
1708 | 1712 | | |
1709 | 1713 | | |
1710 | 1714 | | |
1711 | 1715 | | |
1712 | 1716 | | |
1713 | 1717 | | |
1714 | | - | |
| 1718 | + | |
1715 | 1719 | | |
1716 | 1720 | | |
1717 | 1721 | | |
| |||
3655 | 3659 | | |
3656 | 3660 | | |
3657 | 3661 | | |
| 3662 | + | |
| 3663 | + | |
3658 | 3664 | | |
3659 | 3665 | | |
3660 | 3666 | | |
| |||
0 commit comments