2008-04-19 Dmitry V. Levin <ldv@altlinux.org>

* signalent.sh: Fix sort(1) old-style options.
	* syscallent.sh: Likewise.
	Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
Дмитрий Левин 2008-04-19 14:18:23 +00:00
parent a97f03b781
commit 48e7c6e29a
3 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,9 @@
2008-04-19 Dmitry V. Levin <ldv@altlinux.org>
* signalent.sh: Fix sort(1) old-style options.
* syscallent.sh: Likewise.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* count.c (call_summary_pers): Check calloc() return value.
Signed-off-by: "Yang Zhiguo" <yzgcsu@cn.fujitsu.com>

View File

@ -28,7 +28,7 @@
cat $* |
sed -n -e 's/\/\*.*\*\// /' -e 's/^#[ ]*define[ ][ ]*SIG\([^_ ]*\)[ ][ ]*\([0-9][0-9]*\)[ ]*$/\1 \2/p' |
sort +1n |
sort -k2n | uniq |
awk '
BEGIN {
tabs = "\t\t\t\t\t\t\t\t"

View File

@ -30,7 +30,7 @@ cat ${1+"$@"} |
sed -n 's/^#[ ]*define[ ][ ]*SYS_\([^ ]*\)[ ]*[^0-9]*\([0-9]*\).*$/\1 \2/p
s/^#[ ]*define[ ][ ]*__NR_\([^ ]*\)[ ]*[^0-9]*\([0-9]*\).*$/\1 \2/p
s/^#[ ]*define[ ][ ]*__NR_\([^ ]*\)[ ]*[^0-9()]*(__NR_Linux + \([0-9]*\))$/\1 \2/p' |
sort +1n | uniq |
sort -k2n | uniq |
awk '
BEGIN {
tabs = "\t\t\t\t\t\t\t\t"