]> www.infradead.org Git - nvme.git/commit
perf sched map: Add --fuzzy-name option for fuzzy matching in task names
authorMadadi Vineeth Reddy <vineethr@linux.ibm.com>
Sun, 7 Jul 2024 18:27:16 +0000 (23:57 +0530)
committerNamhyung Kim <namhyung@kernel.org>
Fri, 12 Jul 2024 16:38:40 +0000 (09:38 -0700)
commit306f921e87fc647f1b65c9517d7c97cea854f4f3
tree7e1e0f13c4dcbf01a18432cba164995109b0fa83
parent9cc0afed6fdc46a96501baa49527fa00aaef37b1
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>
tools/perf/Documentation/perf-sched.txt
tools/perf/builtin-sched.c