diff options
author | Mcgrof <anonymous.contributor@example.org> | 2016-03-22 19:21:34 +0000 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2024-10-04 15:47:33 -0400 |
commit | b71b714e080a86d196dcd530539d3f638828045c (patch) | |
tree | 9ad867a1216731c62a09ea43c948c815427f87b2 | |
parent | 125a3bdc02be5136f524770e75651558ab7b2e9c (diff) | |
download | backports-b71b714e080a86d196dcd530539d3f638828045c.tar.gz |
Update Documentation/backports/hacking
-rw-r--r-- | wiki/Documentation_backports_hacking.mediawiki | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/wiki/Documentation_backports_hacking.mediawiki b/wiki/Documentation_backports_hacking.mediawiki index 08452b7..c37774d 100644 --- a/wiki/Documentation_backports_hacking.mediawiki +++ b/wiki/Documentation_backports_hacking.mediawiki @@ -225,6 +225,60 @@ Patch diff % contribution: 45.3139 SmPL diff % contribution: 54.6861 </code> +Now say you wanted to generate stats for a newer release, say for stats based on linux-next tag next-20160122, you would do: + +<code> +cd ~/linux-next/ +git reset --hard next-20160122 + +cd ~/backports/ +./gentree.py --gitdebug ~/linux-next/ ~/build/backports-20160122 + +cd ~/build/backports-20160122 +cp ~/backports-cocci-stats/gen-cocci-stats.sh . +cp ~/backports-cocci-stats/clean . +./gen-cocci-stats.sh +mcgrof@ergon ~/build/backports-20160122 (git::master)$ ./gen-cocci-stats.sh +----------------------------------------------------------------------------- +Development and Maintenance efficiency metrics: +----------------------------------------------------------------------------- + dev-efficiency maint-efficiency diff-wc diffstat clean SmPL-Patch + 0.4 2.6 13 2 5 0067-mdio-addr.cocci + 0.555556 2.33333 21 5 9 0065-ndisc_send_na-argument.cocci + 2.75 8 64 22 8 0062-iff-no-queue.cocci + 0.666667 1.88889 17 6 9 skb_no_xmit_more.cocci + 1.16667 2.79167 67 28 24 ptp_getsettime64.cocci + 0.142857 1 14 2 14 features_check.cocci + 1.18182 5.45455 60 13 11 0055-netdev-tstats.cocci + 1.55906 3.55118 451 198 127 0054-struct-proto_ops-sig.cocci + 0.666667 1.88889 17 6 9 no-pfmemalloc.cocci + 0.634146 1.4878 61 26 41 set_vf_rate.cocci + 3.75 10.625 85 30 8 igb_pci_error_handlers.cocci + 1.07692 4.23077 55 14 13 ethtool_cmd_mdix.cocci + 0.588235 1.23529 21 10 17 rxnfc.cocci + 0.285714 1.53571 43 8 28 get_module.cocci + 0.285714 1.53571 43 8 28 ethtool_eee.cocci + 0.714286 2.28571 16 5 7 skb_no_fcs.cocci + 0.25 1.59375 51 8 32 set_vf_spoofchk.cocci + 0.428571 2.85714 40 6 14 sriov_configure.cocci + 0.87037 2.7037 146 47 54 0031-sk_data_ready.cocci + 4.4 17.9 179 44 10 genl-const.cocci + 7.11111 49.6667 447 64 9 0019-usb_driver_lpm.cocci + 0.571429 4.14286 58 8 14 get_ts_info.cocci + 11.5333 45.4 681 173 15 0001-netlink-portid.cocci + 2.96667 16.35 981 178 60 0002-no_dmabuf.cocci + 0.444444 1.77778 32 8 18 0002-gpio-parent.cocci + 0.512821 1.89744 74 20 39 0002-group_attr_bus.cocci + 0.769231 2.79487 109 30 39 0001-group_attr_class.cocci + 1.46375 5.62538 3724 969 662 all-SmPL.cocci +----------------------------------------------------------------------------- +Patch total diff wc -l: 3087 +SmPL total diff wc -l: 3724 +Total total diff wc -l: 6811 +--------------------------------------- +Patch diff % contribution: 45.3237 +SmPL diff % contribution: 54.6763 +</code> = TODO = Go read the full [[Documentation/backports/hacking/todo|TODO list]] on its own page. |