[PATCH] compat-drivers: Separate code metrics for each subsystem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add a subsystem marker before code metrics to differentiate between
multiple subsystems, e.g. drm, network, etc.:

compat-drivers code metrics

   1181683 - Total upstream lines of code being pulled

   network
   ----------------------------------------
      3109 - backport code changes
      2580 - backport code additions
       529 - backport code deletions
     12754 - backport from compat module
     15863 - total backport code
    1.3424 - % of code consists of backport work

   drm
   ----------------------------------------
       301 - backport code changes
       219 - backport code additions
        82 - backport code deletions
     12754 - backport from compat module
     13055 - total backport code
    1.1048 - % of code consists of backport work

Signed-off-by: Ozan Çağlayan <ozancag@xxxxxxxxx>
---
 scripts/admin-update.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/admin-update.sh b/scripts/admin-update.sh
index 9b85026..00900a4 100755
--- a/scripts/admin-update.sh
+++ b/scripts/admin-update.sh
@@ -664,6 +664,8 @@ printf "${PURPLE}%10s${NORMAL} - Total upstream lines of code being pulled\n" $O
 
 for subsystem in $SUBSYSTEMS; do
 
+	printf "\n   ${YELLOW}$subsystem${NORMAL}\n   ----------------------------------------\n" >> $CODE_METRICS
+
 	for dir in $EXTRA_PATCHES; do
 		LAST_ELEM=$dir
 	done
-- 
1.7.11.7

--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux