diff --git a/scripts/Extended Scripts/bluetooth.sh b/scripts/Extended Scripts/bluetooth.sh old mode 100644 new mode 100755 index e869ab4..3473daa --- a/scripts/Extended Scripts/bluetooth.sh +++ b/scripts/Extended Scripts/bluetooth.sh @@ -26,6 +26,20 @@ for ((i=3; i<=6; i++)); do fi done +ver_name="v5.1" +git checkout ${ver_name} +for string in ${myArray[@]}; do + if [ -n "$(git log --all --grep="$string")" ]; then + echo -e "\e[6;35m \n ${ver_name} \n \e[0m" + echo -e "\e[6;35m \n ${string} \n \e[0m" + git log --all --grep="$string" + else + echo -e "\e[6;35m \n ${ver_name} \n \e[0m" + echo "No such string exists in version ${ver_name} in the git log." + continue + fi +done + ver_name="v5.2-rc1" git checkout ${ver_name} for string in ${myArray[@]}; do @@ -38,37 +52,37 @@ for string in ${myArray[@]}; do echo "No such string exists in version v$i.0 in the git log." continue fi -done +done cd .. cd ~/kbd - git checkout 2.0.0 - for string in ${myArray[@]}; do - if [ -n "$(git log --all --grep="$string")" ]; then - echo -e "\e[6;35m \n version 2.0.0 \n \e[0m" - echo -e "\e[6;35m \n ${string} \n \e[0m" - git log --all --grep="$string" - else - echo -e "\e[6;35m \n version 2.0.0 \n \e[0m" - echo "No such string exists in version 2.0.0 in the git log." - continue - fi - done +git checkout 2.0.0 +for string in ${myArray[@]}; do + if [ -n "$(git log --all --grep="$string")" ]; then + echo -e "\e[6;35m \n version 2.0.0 \n \e[0m" + echo -e "\e[6;35m \n ${string} \n \e[0m" + git log --all --grep="$string" + else + echo -e "\e[6;35m \n version 2.0.0 \n \e[0m" + echo "No such string exists in version 2.0.0 in the git log." + continue + fi +done cd .. cd ~/archive - git checkout v1.0 - - for string in ${myArray[@]}; do - if [ -n "$(git log --all --grep="$string")" ]; then - echo -e "\e[6;35m \n v$i.0 \n \e[0m" - echo -e "\e[6;35m \n ${string} \n \e[0m" - git log --all --grep="$string" - else - echo -e "\e[6;35m \n v$i.0 \n \e[0m" - echo "No such string exists in version v$i.0 in the git log." - fi - done \ No newline at end of file +git checkout v1.0 + +for string in ${myArray[@]}; do + if [ -n "$(git log --all --grep="$string")" ]; then + echo -e "\e[6;35m \n v$i.0 \n \e[0m" + echo -e "\e[6;35m \n ${string} \n \e[0m" + git log --all --grep="$string" + else + echo -e "\e[6;35m \n v$i.0 \n \e[0m" + echo "No such string exists in version v$i.0 in the git log." + fi +done \ No newline at end of file diff --git a/scripts/Extended Scripts/buffer.sh b/scripts/Extended Scripts/buffer.sh old mode 100644 new mode 100755 index 4f98bc9..8da191b --- a/scripts/Extended Scripts/buffer.sh +++ b/scripts/Extended Scripts/buffer.sh @@ -66,6 +66,7 @@ for ((i=3; i<=6; i++)); do done done +# Extended Version ver_name="v5.16-rc1" git checkout ${ver_name} @@ -76,4 +77,16 @@ for keyword in ${search_terms[@]}; do else echo "No such string '$keyword' exists in the git log." fi +done + +ver_name="v5.15-rc7" +git checkout ${ver_name} + +for keyword in ${search_terms[@]}; do + if [ -n "$(git log --all --grep="${keyword}")" ];then + file_name="${keyword}_${ver_name}.txt" + git log --all --grep="$keyword" > ~/linux-kernel-research/linux-kernel-stats/data_dir/extended_scripts/buffer/$file_name + else + echo "No such string '$keyword' exists in the git log." + fi done \ No newline at end of file diff --git a/scripts/Extended Scripts/bus_protocols.sh b/scripts/Extended Scripts/bus_protocols.sh index 6c94513..db38fbc 100644 --- a/scripts/Extended Scripts/bus_protocols.sh +++ b/scripts/Extended Scripts/bus_protocols.sh @@ -52,11 +52,23 @@ for ((i=3; i<=6; i++)); do done done -ver_name="v4.9-rc7" -git checkout ${ver_name} +ver_name1="v4.8-rc1" +git checkout ${ver_name1} for term in "${search_terms[@]}"; do - filename="${ver_name}_$term.bus_protocols.txt" + filename="v${ver_name1}_$term.bus_protocols.txt" + + if [ ! -f "../bp_gitlogs/$filename" ]; then + git log --all --grep="$term" > "../bp_gitlogs/$filename" + fi + #git log --all --grep="$term" > "../bp_gitlogs/v$i.0_$term.bus_protocols.txt" +done + +ver_name2="v4.9-rc7" +git checkout ${ver_name2} + +for term in "${search_terms[@]}"; do + filename="${ver_name2}_$term.bus_protocols.txt" if [ ! -f "../bp_gitlogs/$filename" ]; then git log --all --grep="$term" > "../bp_gitlogs/$filename" diff --git a/scripts/Extended Scripts/clock_support_configuration_git_log.sh b/scripts/Extended Scripts/clock_support_configuration_git_log.sh index bddb667..e5337e8 100755 --- a/scripts/Extended Scripts/clock_support_configuration_git_log.sh +++ b/scripts/Extended Scripts/clock_support_configuration_git_log.sh @@ -81,12 +81,18 @@ cd $SRCDIR_3 declare -a all_versions=($(git tag -l | grep -E '.*\.0$' | sort -V)) # Version to be extended -ver_name="v4.14" +ver_name1="v4.14" # Add the version to the array -all_versions+=("$ver_name") +all_versions+=("$ver_name1") + +# Version to be extended +ver_name2="v4.16" +# Add the version to the array +all_versions+=("$ver_name2") #total no. of versions -n=${#all_versions[@]} +n=${#all_versions[@]} + for ((i=n-1; i>=0; --i)); do git checkout -fq ${all_versions[$i]} diff --git a/scripts/Extended Scripts/cpu_threshold.sh b/scripts/Extended Scripts/cpu_threshold.sh old mode 100644 new mode 100755 index 4624d4c..53c19b2 --- a/scripts/Extended Scripts/cpu_threshold.sh +++ b/scripts/Extended Scripts/cpu_threshold.sh @@ -5,7 +5,28 @@ cd ~/linux-stable/linux-stable -myArray=("idle_time" "get_cpu_idle_time_jiffy" "cpuidle" "CPUIdle" "cpuidle_state" "cpuidle_state_usage" "scaling_min_freq" "scaling_max_freq" "sched_load_balance" "*sched_load_balance" "*cfs_quota_us" "cfs_quota_us" "get_cpu_idle_time" "cpufreq" "MAX_CPUS_IN_ONE_REQ" "cpu_model" "cpufreq_sysfs_present" "alloc_cpu_set" "free__cpu_set" "create_cpu_map" "get_cpu_count" "cpu_threshhold") +myArray=( + "idle_time" + "get_cpu_idle_time_jiffy" + "cpuidle" + "CPUIdle" + "cpuidle_state" + "cpuidle_state_usage" + "scaling_min_freq" + "scaling_max_freq" + "*sched_load_balance" + "*cfs_quota_us" + "get_cpu_idle_time" + "cpufreq" + "MAX_CPUS_IN_ONE_REQ" + "cpu_model" + "cpufreq_sysfs_present" + "alloc_cpu_set" + "free__cpu_set" + "create_cpu_map" + "get_cpu_count" + "cpu_threshhold" +) for ((i=3; i<=6; i++)); do git checkout -fq v$i.0 @@ -26,6 +47,21 @@ for ((i=3; i<=6; i++)); do fi done +ver_name="v5.5-rc7" +git checkout ${ver_name} + +for string in ${myArray[@]}; do + if [ -n "$(git log --all --grep="$string")" ]; then + echo -e "\e[6;35m \n ${ver_name} \n \e[0m" + echo -e "\e[6;35m \n ${string} \n \e[0m" + git log --all --grep="$string" + else + echo -e "\e[6;35m \n ${ver_name} \n \e[0m" + echo "No such string exists in version ${ver_name} in the git log." + continue + fi +done + ver_name="v5.10-rc7" git checkout ${ver_name} @@ -39,7 +75,7 @@ for string in ${myArray[@]}; do echo "No such string exists in version $ver_name in the git log." continue fi -done +done cd .. @@ -65,12 +101,12 @@ cd ~/archive for string in ${myArray[@]}; do if [ -n "$(git log --all --grep="$string")" ]; then - echo -e "\e[6;35m \n v$i.0 \n \e[0m" + echo -e "\e[6;35m \n v1.0 \n \e[0m" echo -e "\e[6;35m \n ${string} \n \e[0m" git log --all --grep="$string" else - echo -e "\e[6;35m \n v$i.0 \n \e[0m" - echo "No such string exists in version v$i.0 in the git log." + echo -e "\e[6;35m \n v1.0 \n \e[0m" + echo "No such string exists in version v1.0 in the git log." continue fi done diff --git a/scripts/Extended Scripts/crypto.sh b/scripts/Extended Scripts/crypto.sh old mode 100644 new mode 100755 index 566af89..7fb05c6 --- a/scripts/Extended Scripts/crypto.sh +++ b/scripts/Extended Scripts/crypto.sh @@ -5,9 +5,34 @@ cd ~/linux-stable/linux-stable -myArray=("AES" "3DES" "DES" "TDES" "SHA1" "SHA2" "MD5" "HMAC-SHA1" "SHA256" "HMAC-SHA256" "SHA224" "SHA384" "SHA512" "PAES" "ECDH" "CRC" "GHASH" "ablkcipher" "ahash" "aead" "*Triple DES*" - "*SHA1 digest algorithms*" "*SHA256 digest algorithms*" "*SHA384 digest algorithms*" "*SHA512 digest algorithms*" "GHASH digest algorithms") - +myArray=( + "AES" + "3DES" + "DES" + "TDES" + "SHA1" + "SHA2" + "MD5" + "HMAC-SHA1" + "SHA256" + "HMAC-SHA256" + "SHA224" + "SHA384" + "SHA512" + "PAES" + "ECDH" + "CRC" + "GHASH" + "ablkcipher" + "ahash" + "aead" + "*Triple DES*" + "*SHA1 digest algorithms*" + "*SHA256 digest algorithms*" + "*SHA384 digest algorithms*" + "*SHA512 digest algorithms*" + "GHASH digest algorithms" +) for ((i=3; i<=6; i++)); do git checkout -fq v$i.0 if [[ $? -eq 0 ]]; then @@ -27,6 +52,22 @@ for ((i=3; i<=6; i++)); do fi done + +ver_name="v5.6-rc1" +git checkout ${ver_name} + +for string in ${myArray[@]}; do + if [ -n "$(git log --all --grep="$string")" ]; then + echo -e "\e[6;35m \n ${ver_name} \n \e[0m" + echo -e "\e[6;35m \n ${string} \n \e[0m" + git log --all --grep="$string" + else + echo -e "\e[6;35m \n ${ver_name} \n \e[0m" + echo "No such string exists in version ${ver_name} in the git log." + continue + fi +done + ver_name="v5.11" git checkout ${ver_name} @@ -40,7 +81,7 @@ for string in ${myArray[@]}; do echo "No such string exists in version $ver_name in the git log." continue fi -done +done cd .. @@ -65,12 +106,12 @@ cd ~/archive for string in ${myArray[@]}; do if [ -n "$(git log --all --grep="$string")" ]; then - echo -e "\e[6;35m \n v$i.0 \n \e[0m" + echo -e "\e[6;35m \n v1.0 \n \e[0m" echo -e "\e[6;35m \n ${string} \n \e[0m" git log --all --grep="$string" else - echo -e "\e[6;35m \n v$i.0 \n \e[0m" - echo "No such string exists in version v$i.0 in the git log." + echo -e "\e[6;35m \n v1.0 \n \e[0m" + echo "No such string exists in version v1.0 in the git log." continue fi done \ No newline at end of file diff --git a/scripts/Extended Scripts/dma.sh b/scripts/Extended Scripts/dma.sh index 9028e55..3061eda 100644 --- a/scripts/Extended Scripts/dma.sh +++ b/scripts/Extended Scripts/dma.sh @@ -5,19 +5,42 @@ cd ~/kbd -myArray=("dma_pool_alloc" "dma_pool_free" "dma_pool_destroy" "dma_pool_create" "dma_map_*" "dma_addr_t" "dma_set_mask_and_coherent" "dma_set_mask" "dma_set_coherent_mask" "DMA_TO_DEVICE" "DMA_FROM_DEVICE" "dma_mapping_error" "dma_map_page" "dma_api" "dma-api" "DMA_API" "DMA-API" "DMADEVICES" "dma_buf" "dma_buffer" "DMA_ENGINE" "DMA_VIRTUAL_CHANNELS") - git checkout 2.0.0 - for string in ${myArray[@]}; do - if [ -n "$(git log --all --grep="$string")" ]; then - echo -e "\e[6;35m \n version 2.0.0 \n \e[0m" - echo -e "\e[6;35m \n ${string} \n \e[0m" - git log --all --grep="$string" - else - echo -e "\e[6;35m \n version 2.0.0 \n \e[0m" - echo "No such string exists in version 2.0.0 in the git log." - continue - fi - done +myArray=( + "dma_pool_alloc" + "dma_pool_free" + "dma_pool_destroy" + "dma_pool_create" + "dma_map_*" + "dma_addr_t" + "dma_set_mask_and_coherent" + "dma_set_mask" + "dma_set_coherent_mask" + "DMA_TO_DEVICE" + "DMA_FROM_DEVICE" + "dma_mapping_error" + "dma_map_page" + "dma_api" + "dma-api" + "DMA_API" + "DMA-API" + "DMADEVICES" + "dma_buf" + "dma_buffer" + "DMA_ENGINE" + "DMA_VIRTUAL_CHANNELS" +) +git checkout 2.0.0 +for string in ${myArray[@]}; do + if [ -n "$(git log --all --grep="$string")" ]; then + echo -e "\e[6;35m \n version 2.0.0 \n \e[0m" + echo -e "\e[6;35m \n ${string} \n \e[0m" + git log --all --grep="$string" + else + echo -e "\e[6;35m \n version 2.0.0 \n \e[0m" + echo "No such string exists in version 2.0.0 in the git log." + continue + fi +done cd .. @@ -57,18 +80,33 @@ for ((i=3; i<=6; i++)); do else continue fi -done +done + +# Extended Version +ver_name1="v4.1-rc5" +git checkout $ver_name1 +for string in ${myArray[@]}; do + if [ -n "$(git log --all --grep="$string")" ]; then + echo -e "\e[6;35m \n $ver_name1 \n \e[0m" + echo -e "\e[6;35m \n ${string} \n \e[0m" + git log --all --grep="$string" + else + echo -e "\e[6;35m \n $ver_name1 \n \e[0m" + echo "No such string exists in version $ver_name1 in the git log." + continue + fi +done -ver_name="v4.1-rc5" -git checkout $ver_name +ver_name2="v6.1-rc1" +git checkout $ver_name2 for string in ${myArray[@]}; do if [ -n "$(git log --all --grep="$string")" ]; then - echo -e "\e[6;35m \n $ver_name \n \e[0m" + echo -e "\e[6;35m \n ${ver_name2}\n \e[0m" echo -e "\e[6;35m \n ${string} \n \e[0m" git log --all --grep="$string" else - echo -e "\e[6;35m \n $ver_name\n \e[0m" - echo "No such string exists in version $ver_name in the git log." + echo -e "\e[6;35m \n ${ver_name2}\n \e[0m" + echo "No such string exists in version ${ver_name2} in the git log." continue fi -done \ No newline at end of file +done diff --git a/scripts/Extended Scripts/drivers.sh b/scripts/Extended Scripts/drivers.sh index 18457d9..26ee4d7 100644 --- a/scripts/Extended Scripts/drivers.sh +++ b/scripts/Extended Scripts/drivers.sh @@ -10,9 +10,14 @@ cd $SRCDIR/drivers declare -a all_versions=($(git tag -l | sort -V)) # Declaring the extended version -ver_name="v6.0-rc1" +ver_name1="v6.0-rc1" #Add the version to the array -all_versions+=("$ver_name") +all_versions+=("$ver_name1") + +# Declaring the extended version +ver_name2="v6.2-rc1" +#Add the version to the array +all_versions+=("$ver_name2") #total no. of versions n=${#all_versions[@]} diff --git a/scripts/Extended Scripts/firmwares.sh b/scripts/Extended Scripts/firmwares.sh index 409b301..a3a0683 100755 --- a/scripts/Extended Scripts/firmwares.sh +++ b/scripts/Extended Scripts/firmwares.sh @@ -27,6 +27,11 @@ for((i=3; i<=6; i++)); do done echo "Firmware info stored at ~/linux-kernel-stats/data_dir/$DIRNAME " -ver_name="v4.20" -git checkout -fq ${ver_name} -grep -q -r "fwname" > ~/linux-kernel-stats/data_dir/$DIRNAME/$ver_name.txt \ No newline at end of file +ver_name1="v2.6.16-rc1" +git checkout -fq ${ver_name1} +grep -q -r "fwname" > ~/linux-kernel-stats/data_dir/$DIRNAME/$ver_name1.txt + + +ver_name2="v4.20" +git checkout -fq ${ver_name2} +grep -q -r "fwname" > ~/linux-kernel-stats/data_dir/$DIRNAME/$ver_name2.txt \ No newline at end of file diff --git a/scripts/Extended Scripts/hardware_tracing_git_log.sh b/scripts/Extended Scripts/hardware_tracing_git_log.sh index cfd7b6f..7533f1b 100755 --- a/scripts/Extended Scripts/hardware_tracing_git_log.sh +++ b/scripts/Extended Scripts/hardware_tracing_git_log.sh @@ -78,9 +78,14 @@ cd $SRCDIR_3 declare -a all_versions=($(git tag -l | grep -E '.*\.0$' | sort -V)) # Extend the version -ver_name="v3.5" +ver_name1="v3.5" #Add the version to the array -all_versions+=("$ver_name") +all_versions+=("$ver_name1") + +# Extend the version +ver_name2="v4.1" +#Add the version to the array +all_versions+=("$ver_name2") #total no. of versions n=${#all_versions[@]} diff --git a/scripts/Extended Scripts/list_of_org.sh b/scripts/Extended Scripts/list_of_org.sh index 5023c6f..e916c68 100644 --- a/scripts/Extended Scripts/list_of_org.sh +++ b/scripts/Extended Scripts/list_of_org.sh @@ -16,7 +16,13 @@ for ((i=3; i<=6; i++)); do grep -Eio '[[:alnum:]_\.-]+@[[:alnum:]_\.-]+\.[[:alpha:].]{2,}' MAINTAINERS | awk -F "@" '{print $2}' | sort -u > /home/kavita/github/data_directory/org/v$i.0_orgs.txt done +# Extend the version ver_name="v3.10-rc7" git checkout ${ver_name} +grep -Eio '[[:alnum:]_\.-]+@[[:alnum:]_\.-]+\.[[:alpha:].]{2,}' MAINTAINERS | awk -F "@" '{print $2}' | sort -u > ~/linux-kernel-stats/data_dir/extended_scripts/${ver_name}_orgs.txt + +ver_name="v4.8-rc1" +git checkout ${ver_name} + grep -Eio '[[:alnum:]_\.-]+@[[:alnum:]_\.-]+\.[[:alpha:].]{2,}' MAINTAINERS | awk -F "@" '{print $2}' | sort -u > ~/linux-kernel-stats/data_dir/extended_scripts/${ver_name}_orgs.txt \ No newline at end of file diff --git a/scripts/Extended Scripts/media.sh b/scripts/Extended Scripts/media.sh index 3419f68..a502427 100644 --- a/scripts/Extended Scripts/media.sh +++ b/scripts/Extended Scripts/media.sh @@ -5,8 +5,42 @@ cd ~/linux-stable/linux-stable -myArray=("H.264" "HEVC" "*NXP*" "*Xcieve*" "*TEA*" "*Infineon*" "*Philips*" "*Rafael*" "*Silicon*" "*NXP*" "*Quantek*" "*Sharp*" "*MaxLinear*" "*Microtune*" "*Mirics*" "*Freescale*" "*Maxim*" "*Montage*" "*ITE*" "*FCI*" "*Fitipower*" - "*Elonics*" "*Webcams*" "*Video*" "*tuners*" "*sensors*" "*AM/FM*" "*V4L2*" "*analog*" "*radio*" "*Fitipower*" "*V4L2*" "*disk*" "*cdrom*" "*tape*") +myArray=("H.264" + "HEVC" + "NXP" + "Xcieve" + "TEA" + "Infineon" + "Philips" + "Rafael" + "Silicon" + "NXP" + "Quantek" + "Sharp" + "MaxLinear" + "Microtune" + "Mirics" + "Freescale" + "Maxim" + "Montage" + "ITE" + "FCI" + "Fitipower" + "Elonics" + "Webcams" + "Video" + "tuners" + "sensors" + "AM/FM" + "V4L2" + "analog" + "radio" + "Fitipower" + "V4L2" + "disk" + "cdrom" + "tape" +) for ((i=3; i<=6; i++)); do git checkout -fq v$i.0 @@ -26,17 +60,31 @@ for ((i=3; i<=6; i++)); do continue fi done +# Extended Version +ver_name1="v4.3" +git checkout ${ver_name1} +for string in ${myArray[@]}; do + if [ -n "$(git log --all --grep="$string")" ]; then + echo -e "\e[6;35m \n $ver_name1 \n \e[0m" + echo -e "\e[6;35m \n ${string} \n \e[0m" + git log --all --grep="$string" + else + echo -e "\e[6;35m \n $ver_name1 \n \e[0m" + echo "No such string exists in version $ver_name1 in the git log." + continue + fi +done -ver_name="v4.3" -git checkout ${ver_name} +ver_name2="v6.2-rc1" +git checkout ${ver_name2} for string in ${myArray[@]}; do if [ -n "$(git log --all --grep="$string")" ]; then - echo -e "\e[6;35m \n $ver_name \n \e[0m" + echo -e "\e[6;35m \n ${ver_name2} \n \e[0m" echo -e "\e[6;35m \n ${string} \n \e[0m" git log --all --grep="$string" else - echo -e "\e[6;35m \n $ver_name \n \e[0m" - echo "No such string exists in version $ver_name in the git log." + echo -e "\e[6;35m \n ${ver_name2} \n \e[0m" + echo "No such string exists in version ${ver_name2} in the git log." continue fi done @@ -72,4 +120,4 @@ git checkout v1.0 echo "No such string exists in version v$i.0 in the git log." continue fi - done \ No newline at end of file + done \ No newline at end of file diff --git a/scripts/Extended Scripts/message_passing.sh b/scripts/Extended Scripts/message_passing.sh old mode 100644 new mode 100755 index 7394819..96f4fdf --- a/scripts/Extended Scripts/message_passing.sh +++ b/scripts/Extended Scripts/message_passing.sh @@ -91,20 +91,32 @@ for ((i=3; i<=6; i++)); do done done -#Extended version -ver_name="v5.13.10" -git checkout ${ver_name} +# Extended Version +ver_name1="v5.17.1" +git checkout ${ver_name1} # Loop through the search terms and search the git log for each term for term in "${search_terms[@]}"; do - filename="$ver_name_$term.gitlog.txt" - + filename="${ver_name1}_$term.gitlog.txt" + if [ ! -f "../mps_gitlogs/$filename" ]; then git log --all --grep="$term" > "../mps_gitlogs/$filename" fi #git log --all --grep="$term" > "../mps_gitlogs/v$i.0_$term.gitlog.txt" done +ver_name2="v5.13.10" +git checkout ${ver_name2} + +# Loop through the search terms and search the git log for each term + for term in "${search_terms[@]}"; do + filename="$ver_name2_$term.gitlog.txt" + + if [ ! -f "../mps_gitlogs/$filename" ]; then + git log --all --grep="$term" > "../mps_gitlogs/$filename" + fi + #git log --all --grep="$term" > "../mps_gitlogs/v$i.0_$term.gitlog.txt" + done echo "Done searching git logs" diff --git a/scripts/Extended Scripts/nfc.sh b/scripts/Extended Scripts/nfc.sh old mode 100644 new mode 100755 index c24bc13..b9c1f9b --- a/scripts/Extended Scripts/nfc.sh +++ b/scripts/Extended Scripts/nfc.sh @@ -5,7 +5,30 @@ cd ~/kbd -myArray=("NFC" "NFC device*" "Near Field Communication (NFC)" "Near Field Communication (NFC) devices" "NFC_CMD_GET_DEVICE" "NFC_CMD_START_POLL" "NFC_CMD_STOP_POLL" "NFC_CMD_GET_TARGET" "NFC_EVENT_DEVICE_ADDED" "NFC_EVENT_DEVICE_REMOVED" "NFC_EVENT_TARGETS_FOUND" "PF_NFC" "nfc_protocol") +myArray=("message passing" + "IPC" + "pipes" + "sockets" + "mailbox" + "message queue" + "RPC" + "shared memory" + "semaphore" + "asynchronous messaging" + "message protocol" + "multicast" + "broadcast" + "ZeroMQ" + "JMS" + "MPI" + "rendezvous" + "SCTP" + "sctp_association" + "sctp_sendmsg" + "tipc" + "netlink" + "netlink_unicast" +) git checkout 2.0.0 for string in ${myArray[@]}; do if [ -n "$(git log --all --grep="$string")" ]; then @@ -57,17 +80,33 @@ for ((i=3; i<=6; i++)); do done # Extend the version -ver_name="v5.5.10" -git checkout ${ver_name} +ver_name1="v5.5.10" +git checkout ${ver_name1} for string in ${myArray[@]}; do if [ -n "$(git log --all --grep="$string")" ]; then - echo -e "\e[6;35m \n $ver_name \n \e[0m" + echo -e "\e[6;35m \n $ver_name1 \n \e[0m" echo -e "\e[6;35m \n ${string} \n \e[0m" git log --all --grep="$string" else - echo -e "\e[6;35m \n $ver_name \n \e[0m" - echo "No such string exists in version $ver_name in the git log." + echo -e "\e[6;35m \n $ver_name1 \n \e[0m" + echo "No such string exists in version $ver_name1 in the git log." continue fi -done \ No newline at end of file +done + +ver_name2="v5.11-rc1" +git checkout ${ver_name2} + +for string in ${myArray[@]}; do + if [ -n "$(git log --all --grep="$string")" ]; then + cho -e "\e[6;35m \n ${ver_name2} \n \e[0m" + echo -e "\e[6;35m \n ${string} \n \e[0m" + git log --all --grep="$string" + else + echo -e "\e[6;35m \n ${ver_name2} \n \e[0m" + echo "No such string exists in version ${ver_name2} in the git log." + continue + fi +done + diff --git a/scripts/Extended Scripts/polling_git_log.sh b/scripts/Extended Scripts/polling_git_log.sh index 2e8aad2..6e7d5da 100755 --- a/scripts/Extended Scripts/polling_git_log.sh +++ b/scripts/Extended Scripts/polling_git_log.sh @@ -82,9 +82,15 @@ cd $SRCDIR_3 declare -a all_versions=($(git tag -l | grep -E '.*\.0$' | sort -V)) # Extended version -ver_name="v3.13" +ver_name1="v3.13" #Add the version to the array -all_versions+=("$ver_name") +all_versions+=("$ver_name1") + +# Extended version +ver_name2="v6.2-rc1" +#Add the version to the array +all_versions+=("$ver_name2") + #total no. of versions n=${#all_versions[@]} diff --git a/scripts/Extended Scripts/power_handling.sh b/scripts/Extended Scripts/power_handling.sh old mode 100644 new mode 100755 index 04b0233..b4b2491 --- a/scripts/Extended Scripts/power_handling.sh +++ b/scripts/Extended Scripts/power_handling.sh @@ -5,7 +5,23 @@ SRCDIR=~/linux-stable/linux-stable cd $SRCDIR -power_keywords=( "power" "cpufreq_register_driver" "cpufreq_register_governor" "cpufreq_set_policy" "acpi_os_execute" "acpi_enter_sleep_state" "acpi_battery_get_info" "acpi_power_get_state" "pm_suspend" "pm_resume" "pm_request_resume" "pm_runtime_get_sync" "thermal_zone_device_register" "thermal_zone_get_temp" "thermal_cooling_device_register" "thermal_cooling_device_set_cur_state" "Power management" "CPU frequency scaling" "CPU idle states" "CPU hotplug" "Runtime power management" "System sleep states" "Hibernation" "Device wake-up events" "ACPI" "Thermal management" "Thermal throttling" "Fan control" "Temperature monitoring" "Battery management" "Power domains" "Voltage and frequency scaling" "Power capping" "Power budgeting" "Energy-aware scheduling") +power_keywords=( "power" + "cpufreq_register_driver" + "cpufreq_register_governor" + "cpufreq_set_policy" + "acpi_os_execute" + "acpi_enter_sleep_state" + "acpi_battery_get_info" + "acpi_power_get_state" + "pm_suspend" + "pm_resume" + "pm_request_resume" + "pm_runtime_get_sync" + "thermal_zone_device_register" + "thermal_zone_get_temp" + "thermal_cooling_device_register" + "thermal_cooling_device_set_cur_state" +) for ((i=3; i<=6; i++)); do git checkout -fq v$i.0 @@ -15,8 +31,20 @@ for ((i=3; i<=6; i++)); do done # Extended Version -ver_name="v3.19-rc3" -git checkout ${ver_name} +ver_name1="v3.19-rc3" +git checkout ${ver_name1} + +for k in "${power_keywords[@]}"; do + git log --all --grep="$k" +done + +ver_name2="v6.1-rc1" +git checkout ${ver_name2} + +for k in "${power_keywords[@]}"; do + git log --all --grep="$k" +done + for k in "${power_keywords[@]}"; do git log --all --grep="$k" diff --git a/scripts/Extended Scripts/resource_manipulation_git_log.sh b/scripts/Extended Scripts/resource_manipulation_git_log.sh index 9d0bd39..33e2f29 100755 --- a/scripts/Extended Scripts/resource_manipulation_git_log.sh +++ b/scripts/Extended Scripts/resource_manipulation_git_log.sh @@ -82,9 +82,15 @@ cd $SRCDIR_3 declare -a all_versions=($(git tag -l | grep -E '.*\.0$' | sort -V)) # Extended Version -ver_name="v3.9-rc3" +ver_name1="v3.9-rc3" # Add the version to the array -all_versions+=("$ver_name") +all_versions+=("$ver_name1") + +# Extended Version +ver_name2="v5.17.1" +# Add the version to the array +all_versions+=("$ver_name2") + #total no. of versions n=${#all_versions[@]} diff --git a/scripts/Extended Scripts/romtypes.sh b/scripts/Extended Scripts/romtypes.sh index f9e88d0..0b94ef4 100644 --- a/scripts/Extended Scripts/romtypes.sh +++ b/scripts/Extended Scripts/romtypes.sh @@ -6,7 +6,58 @@ cd ~/linux-stable/linux-stable -myArray=("rom" "rom_length" "ROM" "ROMs" "SPI flash" "OneNAND" "FRAM" "MRAM" "RRAM" "PCM" "NVRAM" "Battery-backed RAM" "USB flash drive" "SD card" "MMC" "DiskOnChip" "USB Stick" "eMMC" "iSDIO" "SDIO" "UFS" "SAS SSD" "SCSI SSD" "SATA SSD" "PATA SSD" "NVMe SSD" "UltraDIMM" "OTP" "WORM" "P-Flash memory" "S-Flash memory" "Q-Flash memory" "E-Flash memory" "Spansion S25FLXXX Series NOR Flash ROM" "ISSI IS25LPXXX NOR Flash ROM" "Xicor X25FXXX Series EEPROM" "24cXX I2C EEPROM" "SST 39VF3201 Flash ROM" "MTD Flash ROMs" "AM29F040B Flash ROM" "EPROM" "EEPROM" "ROM image" "*rom_size" "*map_rom" "*unmap_rom" "EEPROM" "CD-ROM" "DVD-ROM" "NAND flash" "NOR flash") +myArray=( "rom" + "rom_length" + "ROM" + "ROMs" + "SPI flash" + "OneNAND" + "FRAM" + "MRAM" + "RRAM" + "PCM" + "NVRAM" + "Battery-backed RAM" + "USB flash drive" + "SD card" + "MMC" + "DiskOnChip" + "USB Stick" + "eMMC" + "iSDIO" + "SDIO" + "UFS" + "SAS SSD" + "SCSI SSD" + "SATA SSD" + "PATA SSD" + "NVMe SSD" + "UltraDIMM" + "OTP" + "WORM" + "P-Flash memory" + "S-Flash memory" + "Q-Flash memory" + "E-Flash memory" + "Spansion S25FLXXX Series NOR Flash ROM" + "ISSI IS25LPXXX NOR Flash ROM" + "Xicor X25FXXX Series EEPROM" + "24cXX I2C EEPROM" + "SST 39VF3201 Flash ROM" + "MTD Flash ROMs" + "AM29F040B Flash ROM" + "EPROM" + "EEPROM" + "ROM image" + "*rom_size" + "*map_rom" + "*unmap_rom" + "EEPROM" + "CD-ROM" + "DVD-ROM" + "NAND flash" + "NOR flash" +) for ((i=3; i<=6; i++)); do git checkout -fq v$i.0 @@ -27,17 +78,33 @@ for ((i=3; i<=6; i++)); do fi done -ver_name="v5.6" -git checkout ${ver_name} +# Extend version +ver_name1="v5.3" +git checkout ${ver_name1} for string in ${myArray[@]}; do if [ -n "$(git log --all --grep="$string")" ]; then - echo -e "\e[6;35m \n $ver_name \n \e[0m" + echo -e "\e[6;35m \n $ver_name1 \n \e[0m" echo -e "\e[6;35m \n ${string} \n \e[0m" git log --all --grep="$string" else - echo -e "\e[6;35m \n ${ver_name}\n \e[0m" - echo "No such string exists in version ${ver_name} in the git log." + echo -e "\e[6;35m \n ${ver_name1}\n \e[0m" + echo "No such string exists in version ${ver_name1} in the git log." + continue + fi +done + +ver_name2="v5.6" +git checkout ${ver_name2} + +for string in ${myArray[@]}; do + if [ -n "$(git log --all --grep="$string")" ]; then + echo -e "\e[6;35m \n $ver_name2 \n \e[0m" + echo -e "\e[6;35m \n ${string} \n \e[0m" + git log --all --grep="$string" + else + echo -e "\e[6;35m \n ${ver_name2}\n \e[0m" + echo "No such string exists in version ${ver_name2} in the git log." continue fi done diff --git a/scripts/Extended Scripts/sound.sh b/scripts/Extended Scripts/sound.sh old mode 100644 new mode 100755 index 9033977..fe4736b --- a/scripts/Extended Scripts/sound.sh +++ b/scripts/Extended Scripts/sound.sh @@ -6,7 +6,25 @@ cd ~/linux-stable/linux-stable -myArray=("SOUND" "sound" "SOUND_OSS_CORE" "dmasound" "SND" "ALSA" "pcmcia" "sparc" "parisc" "soc" "x86" "synth" "xen" "virtio" "sound_core" "SND_DRIVERS" "soundcard" "SND_VIRMIDI") +myArray=("SOUND" + "sound" + "SOUND_OSS_CORE" + "dmasound" + "SND" + "ALSA" + "pcmcia" + "sparc" + "parisc" + "soc" + "x86" + "synth" + "xen" + "virtio" + "sound_core" + "SND_DRIVERS" + "soundcard" + "SND_VIRMIDI" +) for ((i=3; i<=6; i++)); do git checkout -fq v$i.0 @@ -27,21 +45,36 @@ for ((i=3; i<=6; i++)); do fi done -ver_name="v4.20.10" -git checkout ${ver_name} +ver_name1="v4.8-rc1" +git checkout ${ver_name1} for string in ${myArray[@]}; do if [ -n "$(git log --all --grep="$string")" ]; then - echo -e "\e[6;35m \n $ver_name \n \e[0m" + echo -e "\e[6;35m \n $ver_name1 \n \e[0m" echo -e "\e[6;35m \n ${string} \n \e[0m" git log --all --grep="$string" else - echo -e "\e[6;35m \n ${ver_name} \n \e[0m" - echo "No such string exists in version ${ver_name} in the git log." + echo -e "\e[6;35m \n ${ver_name1} \n \e[0m" + echo "No such string exists in version ${ver_name1} in the git log." continue fi done +ver_name2="v4.20.10" +git checkout ${ver_name2} + +for string in ${myArray[@]}; do + if [ -n "$(git log --all --grep="$string")" ]; then + echo -e "\e[6;35m \n $ver_name2 \n \e[0m" + echo -e "\e[6;35m \n ${string} \n \e[0m" + git log --all --grep="$string" + else + echo -e "\e[6;35m \n ${ver_name2} \n \e[0m" + echo "No such string exists in version ${ver_name2} in the git log." + continue + fi +done + cd .. cd ~/kbd diff --git a/scripts/Extended Scripts/spinlock_log.sh b/scripts/Extended Scripts/spinlock_log.sh index 861c494..55ca24d 100644 --- a/scripts/Extended Scripts/spinlock_log.sh +++ b/scripts/Extended Scripts/spinlock_log.sh @@ -6,8 +6,36 @@ SRCDIR=~/linux-stable/linux-stable cd $SRCDIR -spinlock_keywords=("spinlock" "spinlock_t" "rwlock_t" "ticket_spin_lock" "raw_spinlock_t" "qspinlock" "ticket_spin_trylock" "ticket_spin_unlock" "read_lock" "ticket_spin_is_locked" "read_trylock" "read_unlock" "write_lock" "write_trylock" "write_unlock" "raw_spin_lock" - "raw_spin_trylock" "raw_spin_unlock" "raw_spin_lock_irq" "raw_spin_lock_irqsave" "raw_spin_unlock_irq" "raw_spin_unlock_irqrestore" "spin_lock" "spin_trylock" "spin_unlock" "spin_lock_irq" "spin_lock_irqsave" "spin_unlock_irq" "spin_unlock_irqrestore") +spinlock_keywords=("spinlock" + "spinlock_t" + "rwlock_t" + "ticket_spin_lock" + "raw_spinlock_t" + "qspinlock" + "ticket_spin_trylock" + "ticket_spin_unlock" + "read_lock" + "ticket_spin_is_locked" + "read_trylock" + "read_unlock" + "write_lock" + "write_trylock" + "write_unlock" + "raw_spin_lock" + "raw_spin_trylock" + "raw_spin_unlock" + "raw_spin_lock_irq" + "raw_spin_lock_irqsave" + "raw_spin_unlock_irq" + "raw_spin_unlock_irqrestore" + "spin_lock" + "spin_trylock" + "spin_unlock" + "spin_lock_irq" + "spin_lock_irqsave" + "spin_unlock_irq" + "spin_unlock_irqrestore" +) for ((i=3; i<=6; i++)); do git checkout -fq v$i.0 @@ -16,9 +44,18 @@ for ((i=3; i<=6; i++)); do done done -ver_name="v5.19.15" -git checkout ${ver_name} +# Extend version +ver_name1="v5.17.1" +git checkout ${ver_name1} for k in ${spinlock_keywords[@]}; do git log --all --grep=$k -done \ No newline at end of file +done + +ver_name2="v5.19.15" +git checkout ${ver_name2} + +for k in ${spinlock_keywords[@]}; do + git log --all --grep=$k +done +