diff options
| author | Joe Perches <[email protected]> | 2014-01-23 15:54:20 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2014-01-23 16:36:56 -0800 |
| commit | c9ecefea0be0673f8b3efbc37b15831d1f02a39f (patch) | |
| tree | 7904731d8dfee7f878a7d90f3efb087ae9faa1c1 /tools/perf/scripts/python/sched-migration.py | |
| parent | 1d3fa370346d9d96ab0efb84e3312aed3aeb35ea (diff) | |
get_maintainer: add commit author information to --rolestats
get_maintainer currently uses "Signed-off-by" style lines to find
interested parties to send patches to when the MAINTAINERS file does not
have a specific section entry with a matching file pattern.
Add statistics for commit authors and lines added and deleted to the
information provided by --rolestats.
These statistics are also emitted whenever --rolestats and --git are
selected even when there is a specified maintainer.
This can have the effect of expanding the number of people that are shown
as possible "maintainers" of a particular file because "authors",
"added_lines", and "removed_lines" are also used as criterion for the
--max-maintainers option separate from the "commit_signers".
The first "--git-max-maintainers" values of each criterion
are emitted. Any "ties" are not shown.
For example: (forcedeth does not have a named maintainer)
Old output:
$ ./scripts/get_maintainer.pl -f drivers/net/ethernet/nvidia/forcedeth.c
"David S. Miller" <[email protected]> (commit_signer:8/10=80%)
Jiri Pirko <[email protected]> (commit_signer:2/10=20%)
Patrick McHardy <[email protected]> (commit_signer:2/10=20%)
Larry Finger <[email protected]> (commit_signer:1/10=10%)
Peter Zijlstra <[email protected]> (commit_signer:1/10=10%)
[email protected] (open list:NETWORKING DRIVERS)
[email protected] (open list)
New output:
$ ./scripts/get_maintainer.pl -f drivers/net/ethernet/nvidia/forcedeth.c
"David S. Miller" <[email protected]> (commit_signer:8/10=80%)
Jiri Pirko <[email protected]> (commit_signer:2/10=20%,authored:2/10=20%,removed_lines:3/33=9%)
Patrick McHardy <[email protected]> (commit_signer:2/10=20%,authored:2/10=20%,added_lines:12/95=13%,removed_lines:10/33=30%)
Larry Finger <[email protected]> (commit_signer:1/10=10%,authored:1/10=10%,added_lines:35/95=37%)
Peter Zijlstra <[email protected]> (commit_signer:1/10=10%)
"Peter Hüwe" <[email protected]> (authored:1/10=10%,removed_lines:15/33=45%)
Joe Perches <[email protected]> (authored:1/10=10%)
Neil Horman <[email protected]> (added_lines:40/95=42%)
Bill Pemberton <[email protected]> (removed_lines:3/33=9%)
[email protected] (open list:NETWORKING DRIVERS)
[email protected] (open list)
Signed-off-by: Joe Perches <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions