PN: lttng-tools
PV: 2.13.13
PR: r0
PKGV: 2.13.13
PKGR: r0.221
LICENSE: GPL-2.0-only & LGPL-2.1-only
DESCRIPTION: The Linux trace toolkit is a suite of tools designed to extract program execution details from the Linux operating system and interpret them.
SUMMARY: Linux Trace Toolkit Control
RDEPENDS:lttng-tools: base-files base-passwd libgcc shadow glibc (>= 2.39+git6+b027d5b145) libkmod (>= 31) liburcu (>= 0.14.0) libxml2 (>= 2.12.10) lttng-ust (>= 2.13.8) popt (>= 1.19)
RRECOMMENDS:lttng-tools:  lttng-modules
SECTION: devel
PKG:lttng-tools: lttng-tools
FILES:lttng-tools: /usr/bin/* /usr/sbin/* /usr/libexec/* /usr/lib/lib*.so.*             /etc /com /var             /usr/bin/* /usr/sbin/*             /usr/lib/*.so.*             /lib/udev /usr/lib/udev             /usr/lib/udev /usr/lib/udev             /usr/share/lttng-tools /usr/lib/lttng-tools/*             /usr/share/pixmaps /usr/share/applications             /usr/share/idl /usr/share/omf /usr/share/sounds             /usr/lib/bonobo/servers /usr/lib/lttng/libexec/* /usr/share/xml/lttng                 /usr/lib/python3.12/site-packages/* /usr/lib/systemd/system-preset/98-lttng-tools.preset /usr/lib/systemd/system/lttng-sessiond.service
FILES_INFO:lttng-tools: {"/usr/bin/lttng": 807440, "/usr/bin/lttng-crash": 260552, "/usr/bin/lttng-relayd": 764744, "/usr/bin/lttng-sessiond": 1835480, "/usr/lib/liblttng-ctl.so.0": 21, "/usr/lib/liblttng-ctl.so.0.0.0": 739664, "/usr/lib/lttng/libexec/lttng-consumerd": 731848, "/usr/lib/systemd/system-preset/98-lttng-tools.preset": 31, "/usr/lib/systemd/system/lttng-sessiond.service": 168, "/usr/share/xml/lttng/session.xsd": 18133}
pkg_postinst:lttng-tools: #!/bin/sh\nset -e\nif systemctl >/dev/null 2>/dev/null; then\n\tOPTS=""\n\n\tif [ -n "$D" ]; then\n\t\tOPTS="--root=$D"\n\tfi\n\n\tif [ "disable" = "enable" ]; then\n\t\tfor service in lttng-sessiond.service; do\n\t\t\tsystemctl ${OPTS} enable "$service"\n\t\tdone\n\tfi\n\n\tif [ -z "$D" ]; then\n\t\tsystemctl daemon-reload\n\t\tsystemctl preset lttng-sessiond.service\n\n\t\tif [ "disable" = "enable" ]; then\n\t\t\tsystemctl --no-block restart lttng-sessiond.service\n\t\tfi\n\tfi\nfi\nif [ x"$D" = "x" ]; then\n\tif [ -x /sbin/ldconfig ]; then /sbin/ldconfig ; fi\nfi\n
pkg_preinst:lttng-tools: #!/bin/sh\nset -e\nbbnote () {\n\techo "NOTE: $*"\n}\nbbwarn () {\n\techo "WARNING: $*"\n}\nbbfatal () {\n\techo "ERROR: $*"\n\texit 1\n}\nperform_groupadd () {\n\tlocal rootdir="$1"\n\tlocal opts="$2"\n\tbbnote "lttng-tools: Performing groupadd with [$opts]"\n\tlocal groupname=`echo "$opts" | awk '{ print $NF }'`\n\tlocal group_exists="`grep "^$groupname:" $rootdir/etc/group || true`"\n\tif test "x$group_exists" = "x"; then\n\t\teval flock -x $rootdir/etc -c \\"$PSEUDO groupadd \\$opts\\" || true\n\t\tgroup_exists="`grep "^$groupname:" $rootdir/etc/group || true`"\n\t\tif test "x$group_exists" = "x"; then\n\t\t\tbbfatal "lttng-tools: groupadd command did not succeed."\n\t\tfi\n\telse\n\t\tbbnote "lttng-tools: group $groupname already exists, not re-creating it"\n\tfi\n}\nperform_useradd () {\n\tlocal rootdir="$1"\n\tlocal opts="$2"\n\tbbnote "lttng-tools: Performing useradd with [$opts]"\n\tlocal username=`echo "$opts" | awk '{ print $NF }'`\n\tlocal user_exists="`grep "^$username:" $rootdir/etc/passwd || true`"\n\tif test "x$user_exists" = "x"; then\n\t\teval flock -x $rootdir/etc -c  \\"$PSEUDO useradd \\$opts\\" || true\n\t\tuser_exists="`grep "^$username:" $rootdir/etc/passwd || true`"\n\t\tif test "x$user_exists" = "x"; then\n\t\t\tbbfatal "lttng-tools: useradd command did not succeed."\n\t\tfi\n\telse\n\t\tbbnote "lttng-tools: user $username already exists, not re-creating it"\n\tfi\n}\nperform_groupmems () {\n\tlocal rootdir="$1"\n\tlocal opts="$2"\n\tbbnote "lttng-tools: Performing groupmems with [$opts]"\n\tlocal groupname=`echo "$opts" | awk '{ for (i = 1; i < NF; i++) if ($i == "-g" || $i == "--group") print $(i+1) }'`\n\tlocal username=`echo "$opts" | awk '{ for (i = 1; i < NF; i++) if ($i == "-a" || $i == "--add") print $(i+1) }'`\n\tbbnote "lttng-tools: Running groupmems command with group $groupname and user $username"\n\tlocal mem_exists="`grep "^$groupname:[^:]*:[^:]*:\\([^,]*,\\)*$username\\(,[^,]*\\)*$" $rootdir/etc/group || true`"\n\tif test "x$mem_exists" = "x"; then\n\t\teval flock -x $rootdir/etc -c \\"$PSEUDO groupmems \\$opts\\" || true\n\t\tmem_exists="`grep "^$groupname:[^:]*:[^:]*:\\([^,]*,\\)*$username\\(,[^,]*\\)*$" $rootdir/etc/group || true`"\n\t\tif test "x$mem_exists" = "x"; then\n\t\t\tbbfatal "lttng-tools: groupmems command did not succeed."\n\t\tfi\n\telse\n\t\tbbnote "lttng-tools: group $groupname already contains $username, not re-adding it"\n\tfi\n}\nOPT=""\nSYSROOT=""\n\nif test "x$D" != "x"; then\n\t# Installing into a sysroot\n\tSYSROOT="$D"\n\tOPT="--root $D"\n\n\t# Make sure login.defs is there, this is to make debian package backend work\n\t# correctly while doing rootfs.\n\t# The problem here is that if /etc/login.defs is treated as a config file for\n\t# shadow package, then while performing preinsts for packages that depend on\n\t# shadow, there might only be /etc/login.def.dpkg-new there in root filesystem.\n\tif [ ! -e $D/etc/login.defs -a -e $D/etc/login.defs.dpkg-new ]; then\n\t    cp $D/etc/login.defs.dpkg-new $D/etc/login.defs\n\tfi\n\n\t# user/group lookups should match useradd/groupadd --root\n\texport PSEUDO_PASSWD="$SYSROOT"\nfi\n\n# If we're not doing a special SSTATE/SYSROOT install\n# then set the values, otherwise use the environment\nif test "x$UA_SYSROOT" = "x"; then\n\t# Installing onto a target\n\t# Add groups and users defined only for this package\n\tGROUPADD_PARAM="--gid 1000 tracing"\n\tUSERADD_PARAM=""\n\tGROUPMEMS_PARAM=""\nfi\n\n# Perform group additions first, since user additions may depend\n# on these groups existing\nif test "x`echo $GROUPADD_PARAM | tr -d '[:space:]'`" != "x"; then\n\techo "Running groupadd commands..."\n\t# Invoke multiple instances of groupadd for parameter lists\n\t# separated by ';'\n\topts=`echo "$GROUPADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\tremaining=`echo "$GROUPADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\twhile test "x$opts" != "x"; do\n\t\tperform_groupadd "$SYSROOT" "$OPT $opts"\n\t\tif test "x$opts" = "x$remaining"; then\n\t\t\tbreak\n\t\tfi\n\t\topts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\t\tremaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\tdone\nfi\n\nif test "x`echo $USERADD_PARAM | tr -d '[:space:]'`" != "x"; then\n\techo "Running useradd commands..."\n\t# Invoke multiple instances of useradd for parameter lists\n\t# separated by ';'\n\topts=`echo "$USERADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\tremaining=`echo "$USERADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\twhile test "x$opts" != "x"; do\n\t\tperform_useradd "$SYSROOT" "$OPT $opts"\n\t\tif test "x$opts" = "x$remaining"; then\n\t\t\tbreak\n\t\tfi\n\t\topts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\t\tremaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\tdone\nfi\n\nif test "x`echo $GROUPMEMS_PARAM | tr -d '[:space:]'`" != "x"; then\n\techo "Running groupmems commands..."\n\t# Invoke multiple instances of groupmems for parameter lists\n\t# separated by ';'\n\topts=`echo "$GROUPMEMS_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\tremaining=`echo "$GROUPMEMS_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\twhile test "x$opts" != "x"; do\n\t\tperform_groupmems "$SYSROOT" "$OPT $opts"\n\t\tif test "x$opts" = "x$remaining"; then\n\t\t\tbreak\n\t\tfi\n\t\topts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\t\tremaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\tdone\nfi\n
pkg_prerm:lttng-tools: #!/bin/sh\nset -e\nif systemctl >/dev/null 2>/dev/null; then\n\tif [ -z "$D" ]; then\n\t\tsystemctl stop lttng-sessiond.service\n\n\t\tsystemctl disable lttng-sessiond.service\n\tfi\nfi\n
FILERPROVIDESFLIST:lttng-tools: /usr/lib/liblttng-ctl.so.0.0.0
FILERPROVIDES:/usr/lib/liblttng-ctl.so.0.0.0:lttng-tools:  liblttng-ctl.so.0()(64bit)
FILERDEPENDSFLIST:lttng-tools: /usr/bin/lttng /usr/bin/lttng-crash /usr/bin/lttng-relayd /usr/bin/lttng-sessiond /usr/lib/liblttng-ctl.so.0.0.0 /usr/lib/lttng/libexec/lttng-consumerd
FILERDEPENDS:/usr/bin/lttng:lttng-tools:  ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libpopt.so.0(LIBPOPT_0)(64bit) libxml2.so.2(LIBXML2_2.7.3)(64bit) libxml2.so.2(LIBXML2_2.6.5)(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) libxml2.so.2(LIBXML2_2.5.8)(64bit) libxml2.so.2(LIBXML2_2.6.0)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.8)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.22)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) liblttng-ctl.so.0()(64bit) libxml2.so.2()(64bit) libpopt.so.0()(64bit) libc.so.6()(64bit) ld-linux-x86-64.so.2()(64bit) rtld(GNU_HASH)
FILERDEPENDS:/usr/bin/lttng-crash:lttng-tools:  ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.22)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6()(64bit) ld-linux-x86-64.so.2()(64bit) rtld(GNU_HASH)
FILERDEPENDS:/usr/bin/lttng-relayd:lttng-tools:  ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libxml2.so.2(LIBXML2_2.7.3)(64bit) libxml2.so.2(LIBXML2_2.6.5)(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) libxml2.so.2(LIBXML2_2.5.8)(64bit) libxml2.so.2(LIBXML2_2.6.0)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.9)(64bit) libc.so.6(GLIBC_2.25)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.8)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.22)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) liburcu.so.8()(64bit) liburcu-cds.so.8()(64bit) liblttng-ctl.so.0()(64bit) libxml2.so.2()(64bit) libc.so.6()(64bit) ld-linux-x86-64.so.2()(64bit) rtld(GNU_HASH)
FILERDEPENDS:/usr/bin/lttng-sessiond:lttng-tools:  ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libxml2.so.2(LIBXML2_2.6.5)(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) libxml2.so.2(LIBXML2_2.7.3)(64bit) libxml2.so.2(LIBXML2_2.5.8)(64bit) libxml2.so.2(LIBXML2_2.6.0)(64bit) libkmod.so.2(LIBKMOD_5)(64bit) libc.so.6(GLIBC_2.22)(64bit) libc.so.6(GLIBC_2.9)(64bit) libc.so.6(GLIBC_2.8)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.25)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libkmod.so.2()(64bit) liblttng-ctl.so.0()(64bit) liburcu.so.8()(64bit) liburcu-common.so.8()(64bit) liburcu-cds.so.8()(64bit) libxml2.so.2()(64bit) liblttng-ust-ctl.so.5()(64bit) liblttng-ust-common.so.1()(64bit) libc.so.6()(64bit) ld-linux-x86-64.so.2()(64bit) rtld(GNU_HASH)
FILERDEPENDS:/usr/lib/liblttng-ctl.so.0.0.0:lttng-tools:  ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libxml2.so.2(LIBXML2_2.7.3)(64bit) libxml2.so.2(LIBXML2_2.6.5)(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) libxml2.so.2(LIBXML2_2.5.8)(64bit) libxml2.so.2(LIBXML2_2.6.0)(64bit) libc.so.6(GLIBC_2.6)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.9)(64bit) libc.so.6(GLIBC_2.25)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.8)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.22)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libxml2.so.2()(64bit) librt.so.1()(64bit) libc.so.6()(64bit) ld-linux-x86-64.so.2()(64bit) rtld(GNU_HASH)
FILERDEPENDS:/usr/lib/lttng/libexec/lttng-consumerd:lttng-tools:  ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.9)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.25)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.8)(64bit) libc.so.6(GLIBC_2.6)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.5)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.22)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) liburcu.so.8()(64bit) liburcu-cds.so.8()(64bit) liblttng-ust-ctl.so.5()(64bit) libc.so.6()(64bit) ld-linux-x86-64.so.2()(64bit) rtld(GNU_HASH)
PKGSIZE:lttng-tools: 5158081
