[PATCH 4/6] Add asinfo to build strace deb/rpm packages
Edgar Kaziakhmedov
edgar.kaziakhmedov at virtuozzo.com
Sun Dec 10 13:53:20 UTC 2017
As asinfo detects ABI mode based on userspace environment in biarch
systems, add asinfo only to strace package.
* debian/control (strace, strace-udeb): Add asinfo decription.
* debian/strace.install: Add path to asinfo binary.
* debian/strace.manpages: Add path to asinfo man.
* strace.spec.in (%files): Add asinfo binary.
Signed-off-by: Edgar Kaziakhmedov <edgar.kaziakhmedov at virtuozzo.com>
---
debian/control | 6 ++++++
debian/strace.install | 1 +
debian/strace.manpages | 1 +
strace.spec.in | 7 +++++--
4 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/debian/control b/debian/control
index 92cdc204..f47b36a1 100644
--- a/debian/control
+++ b/debian/control
@@ -20,6 +20,9 @@ Description: System call tracer
System calls and signals are events that happen at the user/kernel
interface. A close examination of this boundary is very useful for bug
isolation, sanity checking and attempting to capture race conditions.
+ .
+ In addition, asinfo tool, included to package, allows to get information
+ about any system call for specified architecture.
Package: strace64
Architecture: i386 powerpc s390 sparc
@@ -54,5 +57,8 @@ Description: System call tracer
interface. A close examination of this boundary is very useful for bug
isolation, sanity checking and attempting to capture race conditions.
.
+ In addition, asinfo tool, included to package, allows to get information
+ about any system call for specified architecture.
+ .
This is a stripped down package intended for debugging use in the Debian
installer.
diff --git a/debian/strace.install b/debian/strace.install
index 30b0a6b0..1e2401bb 100644
--- a/debian/strace.install
+++ b/debian/strace.install
@@ -1,2 +1,3 @@
build/strace usr/bin
strace-log-merge usr/bin
+build/tools/asinfo/asinfo usr/bin
diff --git a/debian/strace.manpages b/debian/strace.manpages
index d3b94482..cd0be9eb 100644
--- a/debian/strace.manpages
+++ b/debian/strace.manpages
@@ -1,2 +1,3 @@
strace.1
strace-log-merge.1
+build/tools/asinfo/asinfo.1
diff --git a/strace.spec.in b/strace.spec.in
index 41b69d0e..cbd15995 100644
--- a/strace.spec.in
+++ b/strace.spec.in
@@ -21,7 +21,8 @@ The strace program intercepts and records the system calls called and
received by a running process. Strace can print a record of each
system call, its arguments and its return value. Strace is useful for
diagnosing problems and debugging, as well as for instructional
-purposes.
+purposes. Also strace includes advanced system call information tool
+(asinfo), which provides information about system calls and architectures.
Install strace if you need a tool to track the system calls made and
received by a process.
@@ -36,7 +37,8 @@ The strace program intercepts and records the system calls called and
received by a running process. Strace can print a record of each
system call, its arguments and its return value. Strace is useful for
diagnosing problems and debugging, as well as for instructional
-purposes.
+purposes. Also strace includes advanced system call information tool
+(asinfo), which provides information about system calls and architectures.
Install strace if you need a tool to track the system calls made and
received by a process.
@@ -92,6 +94,7 @@ echo 'END OF TEST SUITE INFORMATION'
%{?suse_version:%defattr(-,root,root)}
%doc CREDITS ChangeLog ChangeLog-CVS COPYING NEWS README
%{_bindir}/strace
+${_bindir}/asinfo
%{_bindir}/strace-log-merge
%{_mandir}/man1/*
--
2.11.0
More information about the Strace-devel
mailing list