<commit_before>#!/bin/bash

TMP=`mktemp`

DEAD_SYSCALLS="afs_syscall|break|ftime|gtty|lock|mpx|oldwait4|prof|profil|putpmsg|security|stty|tuxcall|ulimit|vserver"

for tbl_file in $(find $KERNELSRC -name syscall*.tbl)
do
	egrep -v "(^#|^$|sys_ni_syscall|unused|${DEAD_SYSCALLS})" $tbl_file |
		awk '{ print $3 }' > ${TMP}<commit_msg>ignore arm_sync_file_range() and utimesat() calls<commit_after>#!/bin/bash

TMP=`mktemp`

# arm_sync_file_range is sync_file_range2() since 2.6.22
# utimesat is PowerPC/SPU only
# rest are not implemented
#
DEAD_SYSCALLS="afs_syscall|break|ftime|gtty|lock|mpx|oldwait4|prof|profil|putpmsg|security|stty|tuxcall|ulimit|vserver|arm_sync_file_range|utimesat"

for tbl_file in $(find $KERNELSRC -name syscall*.tbl)
do
	egrep -v "(^#|^$|sys_ni_syscall|unused|${DEAD_SYSCALLS})" $tbl_file |
		awk '{ print $3 }' > ${TMP}
{'fraction_non_alphanumeric': 0.16193853427895982, 'fraction_numerical': 0.010638297872340425, 'mean_word_length': 8.307692307692308, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7299423', 'n_tokens_mistral': 384, 'n_tokens_neox': 360, 'n_words': 54}