commit 3d32304a7048efbbf6e45c9b21cf94e3aad6103e Author: Adrian Schröter Date: Thu Feb 22 13:15:11 2024 +0100 Sync from SUSE:ALP:Source:Standard:1.0 lttng-tools revision 9f7b0e32b4717bf5c359c9a10a9cec2d diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/lttng-tools-2.13.11.tar.bz2 b/lttng-tools-2.13.11.tar.bz2 new file mode 100644 index 0000000..c3f1081 --- /dev/null +++ b/lttng-tools-2.13.11.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ac5baeef9fa690936b1ca01ecd1742da762c2c08511ff1b4e923938d94d0f979 +size 1912766 diff --git a/lttng-tools-2.13.11.tar.bz2.asc b/lttng-tools-2.13.11.tar.bz2.asc new file mode 100644 index 0000000..ad0548e --- /dev/null +++ b/lttng-tools-2.13.11.tar.bz2.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEEf0kxSibg3nhCdoDgXxsqB4nxKxEFAmTjwswACgkQXxsqB4nx +KxEjMw/9E6Izb8PiFOwHbWezyRI6WfHVke9XT0s5Dz+4S0PCMKJAYJt2LybQT+Hr +8IEfHjuh1k4oGpJuqm7uTZ4IdvdLWmd+EwH+mVD4MQq+Cl4IE0r8qTk3dgsfzKOp +TEihr3DIsBYz/F1qy2hDawbjMhh4G3RoCXKO/eisZvvTUo0jIIhYaBXDeoNEtWxV +ywjBKZBMu7ynA4OACttncMHweOyAlVIxXgDDG0qRKtGbCUssTh1KCNyJdrf4LgtU +cIJzZPhPs23tFjzdTBD2EB8T0Kc72y2x4wtEpF9BOMu268EersTojYJMrZOTCLSV +sgBy7kpItrrQInpcKMycJHYDbT6RtnRAHCPM1NPyDpt2SmgW+oQPjcDXuSv701ck +Z7XsK195Y+OCrK4KEekbkwyjXC5RlOxSUCi69uSbbU8qLUtQShz1HHA+vA+eVIKg +xqPJxW7RIr83wsgj+ZcqcIH0pvIme+2uJHqyoVCEsj1/iZnHbZRDQj3ytlFDXxKS +Ufq43UoIIsz3HfC06JvqJdCRGqm0eE6MVKkKYmuDExja2XOVYlaoR1w2GOOE9t/Z +UM6DafvC/FaeZZk+/KGPAopPzuHQrwHadZ7IOnv5jfGJDp3TZ6V4Y/3FCueZ4FhM +vadyb8FHwHhCMk/UbrYfBDq3Dg0JUeMSC+C9+4KOQ2tzDX6AMLU= +=bSfM +-----END PGP SIGNATURE----- diff --git a/lttng-tools-fix-pkgconfig.patch b/lttng-tools-fix-pkgconfig.patch new file mode 100644 index 0000000..70d64b8 --- /dev/null +++ b/lttng-tools-fix-pkgconfig.patch @@ -0,0 +1,11 @@ +--- a/src/lib/lttng-ctl/lttng-ctl.pc.in ++++ b/src/lib/lttng-ctl/lttng-ctl.pc.in +@@ -12,7 +12,7 @@ Name: LTTng control library + Description: Control LTTng recording sessions and triggers + Version: @PACKAGE_VERSION@ + Requires: +-Requires.private: ++Requires.private: liburcu liburcu-cds + Libs: -L${libdir} -llttng-ctl + Cflags: -I${includedir} + diff --git a/lttng-tools.changes b/lttng-tools.changes new file mode 100644 index 0000000..35f923f --- /dev/null +++ b/lttng-tools.changes @@ -0,0 +1,590 @@ +------------------------------------------------------------------- +Thu Dec 28 17:05:09 UTC 2023 - Dirk Müller + +- update to 2.13.11: + * docs: fix: Match stated automake requirement + * Docs: Fix broken reference in lttng-add-trigger + * Docs: Fix broken reference to lttng-concepts(7) man page + disk space + * Fix: lttng-add-context: leak of application context + parameters + * Fix: sessiond: bad fd used while rotating exiting app's + buffers + * Fix: consumerd: slow metadata push slows down application + registration + * event-rule: set event rule loglevel to domain specific value + when unset + * Fix: sessiond: preserve jul/log4j domain loglevels + * Fix: sessiond: crash enabling event rules that differ only by + loglevel type + * Fix: sessiond: incorrect use of exclusions array leads to + crash + * Fix: sessiond: silent kernel notifier registration error + * Fix: sessiond: size-based notification occasionally not + triggered + * Fix: adding a user space probe fails on thumb functions + * Fix: Tests that assume CPU 0 is present + * Fix: Wrong assumption about possible CPUs + * Fix: lttng remove-trigger -h fails + * Fix: ini parser: truncation of value name + * Fix: truncated len in + lttng_event_rule_user_tracepoint_serialize() + +------------------------------------------------------------------- +Sun Jan 29 12:14:55 UTC 2023 - Dirk Müller + +- update to 2.13.9: + * Fix: lttng: poptGetArg doesn't provide string ownership + * Fix: relayd: missing space in trace creation logging statement + * Fix: event field value: assertion fails on empty string + * Build fix: rpath of test libraries results in non-reproducible build + * Fix: never use 'no' in a command variable + * Fix: sessiond: abort called on undefined client command + * Fix: consumer: snapshot: assertion on subsequent snapshot + * Fix: sessiond: instance uuid is not sufficiently unique + +------------------------------------------------------------------- +Mon Aug 29 10:22:01 UTC 2022 - Jan Engelhardt + +- Update to release 2.13.8 + * futex wait: handle spurious futex wakeups + * agent port file was o+w when launching as root + * sessiond: handle empty scheduled rotations + * sessiond: size-based rotations never triggered + * lttng-snapshot: fixed use after free of max size argument + * liblttng-ctl: non-packed structure was used for tracker + serialization + * test: lttng kernel modules were still loaded after running + test_clock_override + * Plug some memory leaks + +------------------------------------------------------------------- +Wed May 18 20:23:14 UTC 2022 - Alexei Sorokin + +- Update to version 2.13.7: + * See https://git.lttng.org/?p=lttng-tools.git;a=blob_plain;f=ChangeLog;hb=v2.13.7 + +------------------------------------------------------------------- +Sat Nov 27 18:07:31 UTC 2021 - Alexei Sorokin + +- Update to version 2.13.1: + * See https://git.lttng.org/?p=lttng-tools.git;a=blob_plain;f=ChangeLog;hb=v2.13.1 +- Rebase lttng-tools-fix-pkgconfig.patch. +- Add ARMv7 and RISC-V to supported architectures. + +------------------------------------------------------------------- +Mon Nov 2 23:31:57 UTC 2020 - Tony Jones + +- Update to version 2.12.2 + Changelog: https://git.lttng.org/?p=lttng-tools.git;a=blob_plain;f=ChangeLog;hb=v2.12.2 + + - Add signed bz2 support (keyring) + + +------------------------------------------------------------------- +Wed Feb 26 14:29:32 UTC 2020 - Alexei Sorokin + +- Update to version 2.11.2: + * See /usr/share/doc/packages/lttng-tools/ChangeLog +- Drop support for old openSUSE versions. + +------------------------------------------------------------------- +Wed Nov 14 12:28:56 UTC 2018 - sor.alexei@meowr.ru + +- Update to version 2.10.5: + * Fix: missing context enum values in session xml schema. + * Tests: add session auto-loading test cases. + * Bash completion: ignore namespace for xmllint parsing. + * Typo in ust consumer log message (channek -> channel). + * Fix: use signed variable for refcounting of + consumer_relayd_sock_pair. + * Fix: warning due to hash_key_str() being not const-correct. + * Print consumerd32/64/kernel configuration. + * Fix: calling ht_{hash, match}_enum with wrong argument. + * Fix: probes should be compared strictly by events metadata. + * Fix: test_ust-dl is generated at configure-time. + * Fix: cmd line options overwrite env variable config options. + * Fix: perform the initialization memory barrier out of loop body. + * Port: fix format warnings on Cygwin. + * Add missing include for ssize_t on Cygwin. + * Fix: sessions with agent channels fail to load. + * Fix: don't wait for the load thread before serving client + commands. + * Fix: sessiond fails to launch on --without-ust configuration. + * Fix: agent thread poll set creation failure results in deadlock. + * Fix: test uses sizeof() on the wrong operand of strncpy. + * Fix: ret may be used uninitialized in sample_channel_positions(). +- Add gpl-2.0.txt and lgpl-2.1.txt to the library packages with the + %license tag. + +------------------------------------------------------------------- +Sun Jun 17 18:47:02 UTC 2018 - sor.alexei@meowr.ru + +- Update to version 2.10.4 (changes since 2.10.2): + * Fix: Set errno with value from SO_ERROR on error. + * Fix: Missing value handling for lttng_event_context_type. + * Fix: Use SOL_SOCKET level for SO_KEEPALIVE on all platform. + * Fix: Error out on leftover arguments. + * Fix: Reply to version check even on protocol mismatch. + * Fix: Error handling on relay version check. + * Document add-context limitation for started session. + * Fix: add-context cannot be performed after a session has been + started. + * Fix: Duplicated kernel consumer socket locking. + * Fix: Remove unused event types in MI XML schema. + * Tests: Cleanly exit from test apps on reception of SIGTERM. + * Document consumer socket locking assumptions. + * Fix: Consumer socket lock not held during snapshot record. + * Fix: set_relayd_for_snapshot does not acquire the consumer + socket lock. + * Fix: send_channel_monitor_pipe does not take the consumer + socket lock. + * Document the locking assumptions of consumerd-relayd socket + passing. + * Assert that the consumer lock is held while sending FDs to + consumerd. + * Assert that the consumer socket lock is taken during + communication. + * Tests: Refuse to run test suite if lttng processes are present. + * Fix: Metadata channel leak when using the snapshot tracing + mode. + * Fix build: in_git_repo is used before being set. + * Add DBG statement for TCP keep-alive options. + * Fix: Unprivilieged sessiond agent port clashes with root + sessiond. + * Fix: Erroneous use of extern keyword. + * Fix: Failure to launch agent thread is not reported. + * Fix: Agent may not be ready on launch. + * Fix: Checking for existing session daemon is done after + daemonising. + * Fix: lttng logs nanoseconds. + * Fix: stream_per_chan_id_ht should allow duplicates. + * Fix: relayd send_command() util not logging on failure. + * Fix: Create_output_path() relayd util is not + const-correct. + * Fix: Kernel snapshot handling of EAGAIN. + * Fix validate_trace_empty test check. + * Fix: Circular inclusion of lttng.h results in warning. + * Fix: Channel lock must be taken to check for pending + notifications. + * Fix: Quiet option is not set in sessiond-config. + * Fix: Hold consumer socket lock for consumer_send_msg. + * Fix: Use off_t type for lseek function return value to avoid + overflow. + * Fix: Double similar condition. +- Use tarball signing. + +------------------------------------------------------------------- +Thu Mar 15 16:19:49 UTC 2018 - sor.alexei@meowr.ru + +- Update to version 2.10.2: + * Do not flag consumer as disabled on relayd comm failure. + * Cleanup inactive FDs in the consumer polling thread. + * man: Document dead-peer detection for lttng-relayd. + * lttng-relayd: Use the TCP keep-alive mechanism to detect a + dead-peer. + * Tests: race between consumer pause and trace start/stop. + * Fix notification thread being not notified of channel creation + on application error. + * Fix using putenv() and free()-ing the value is invalid. + * Fix unknown consumer type considered a libc error. + * Fix that consumerd(64/32)_lib_dir can be NULL. + * Fix a nonsensical message printed by lttng track/untrack. + * Fix O_CLOEXEC being erroneously used on pipe creation. + * Fix a wrong parameter to fcntl in pipe_set_flag. + * Use lttng_clock_gettime instead of clock_gettime. + * Close channel monitor pipe after killing the + metadata_timer_thread. + * Use file based synchronisation for python logging test. + * Test: Add file based synchronisation point for the Python test + application. + * Fix wrong use of the relay_streams_sent in snapshot. + * Fix the return code of lttcomm_send_unix_sock signed. + * Fix a src/bin/lttng/utils.c: cast incompatible pointer warning. + * Fix: src/common/pipe.h: include for ssize_t and + mode_t. + * Fix detect dlmopen() and disable corresponding tests if not + available. + * Use tmpdir for intermediary files. + * Fix include scripts for distribution. + * Fix a typo in lttng-consumerd file default. + * Fix missing NULL checks in logging statements. + * Test: Kernel testing for notification. + * Kernel consumerd sock paths need rundir substitution. + * Create lttng run dir regardless of user privilege. + * Make version.h generation work with dash. + * lttng-enable-event(1): filtering: Specify that `$ctx.cpu_id` + is available. + * Centralise sessiond config option handling. + * Fix buffer overflow warning in python bindings. + * Tests fix: BT2 does not output the metadata of a trace + collection. + +------------------------------------------------------------------- +Sat Nov 4 10:10:46 UTC 2017 - sor.alexei@meowr.ru + +- Add lttng-tools-fix-pkgconfig.patch: Add missing dependencies to + lttng-ctl.pc. +- Build for aarch64. +- Spec cleanup. + +------------------------------------------------------------------- +Sat Oct 7 23:43:33 UTC 2017 - jengelh@inai.de + +- Rectify RPM groups. Remove redundant %clean section. + Replace old RPM macros. + +------------------------------------------------------------------- +Fri Oct 6 16:00:21 UTC 2017 - tonyj@suse.com + +- Fix typo in package summary + +------------------------------------------------------------------- +Thu Aug 31 20:41:08 UTC 2017 - tonyj@suse.com + +- Update to version 3.10 for SLE15 (bsc#1055683) +- Adhere to shared library policy (new lib: liblttng-ctl$sover) +- Do not package static libraries + +------------------------------------------------------------------- +Tue Aug 2 16:32:36 UTC 2016 - normand@linux.vnet.ibm.com + +- add ppc64/ppc64le in ExclusiveArch + +------------------------------------------------------------------- +Thu Jan 28 17:53:26 UTC 2016 - tonyj@suse.com + +- Update to bugfix release 2.7.1 for SLE12SP2 + Changelog: + http://git.lttng.org/?p=lttng-tools.git;a=blob_plain;f=ChangeLog;hb=v2.7.1 + +------------------------------------------------------------------- +Mon Oct 5 17:23:09 UTC 2015 - tonyj@suse.com + +- Upgrade to release version 2.7.0 (FATE#319273) + http://git.lttng.org/?p=lttng-tools.git;a=blob_plain;f=ChangeLog;hb=v2.7.0 + to view changelog from v2.7.0-rc1 to v2.7.0 + +------------------------------------------------------------------- +Tue Jul 28 22:42:00 UTC 2015 - tonyj@suse.com + +- Update to version 2.7.0-rc1 (FATE#319273) + Changelog for differences between 2.4.0 and this point may be found at: + http://git.lttng.org/?p=lttng-tools.git;a=blob_plain;f=ChangeLog;hb=1808007961cfaa7f915e44424f790e616219a361 + +------------------------------------------------------------------- +Tue Apr 15 17:39:30 UTC 2014 - tonyj@suse.com + +- Update to version 2.4.1 + Changelog: + * Fix: don't delete stream from connection recv list + * Fix: use after free of a relayd stream + * Fix: don't print stream name in error message + * Fix: take session list lock when listing tp + * Fix: add consumer wake up pipe to avoid race + * Fix: don't spawn relayd if URL is provided + * Fix: don't ask data pending if session was not started + * Fix: missing test file in EXTRA dist + * Fix: allow empty URL for live session creation + * Fix: missing valid return code when adding an URI to consumer + * Fix: syntax error in lttng.1 + * Fix: check relayd fd leak in lttng cmdline + * Fix: remove unused tp in high-throughput test + * Use autoconf AM_MAINTAINER_MODE. + * Fix: clang 'constant-out-of-range-compare' warning + * Fix: Unchecked session pointer when destroying a connection in relayd + +- Add dependancy on babeltrace and recommend kmps (bnc#872688) + +------------------------------------------------------------------- +Fri Feb 28 21:45:30 UTC 2014 - tonyj@suse.com + +- Update to version 2.4.0. Changelog for changes between 2.3.0 and 2.4.0 + may be found at: http://git.lttng.org/?p=lttng-tools.git;a=blob_plain;f=ChangeLog;hb=refs/heads/stable-2.4 + +------------------------------------------------------------------- +Mon Feb 10 18:26:45 UTC 2014 - tonyj@suse.com + +- Update to version 2.3.1 + +------------------------------------------------------------------- +Mon Mar 11 21:25:06 UTC 2013 - tonyj@suse.com + +- Upgrade to version 2.1.1 (FATE#314846) + Changelog 2.1.1: + * Fix: update next_net_seq_num after sending header + * Fix: wrong loop continuation in metadata thread + * Fix: lttng create session memleaks + * Fix: remove unused session id map + * Fix: wrong session id used on relayd lookup + * Fix: add missing UST abi header for make dist + * Fix: add missing rcu read side lock/unlock + + Changelog 2.1.0: + * STABLE VERSION 2.1.0-stable - "Basse Messe" + * Multiple minor fixes + * Multiple memory and fd leaks + * Fix: Off by one in seq num for data pending command + * Fix: flag metadata stream on quiescent control cmd + * Fix: prioritize control socket communication in relayd + * Fix: poll and epoll fd set reallocation + * Fix: add missing goto pending if data is inflight + * Fix: remove ua_sess->started assert on stop trace + * Set classes of traffic in high_throughput_limit + * Fix: use the poll wait ret value when iterating on fd(s) + * Fix: force the poll() return value to be nb_fd + * Fix: Wrong check of node when cleaning up ht + * Fix: set started flag of ust app after ustctl + * Fix: memory leak in add relayd socket error path + * Fix: add packed attribute to filter structure + * Fix: Add missing health code update for consumer command + * Add LTTNG_PACKED macro + * Fix data pending for inflight streaming + * Map session id of relayd and sessiond in consumer + * Add the relayd create session command + * Make the consumer sends a ACK after each command + * Remove MSG_WAITALL on every recvmsg() socket typ + * Fix: Add missing relayd ht cleanup and ht destroy + * Fix: Relayd and sessiond version check + * Fix: protect consumer_find_channel with rcu locking + * Fix: don't steal key when adding a metadata stream + * Consumer hold stream mutex for add stream + + Changelog 2.1.0-rc9: + * Fix: set the stream ht static in consumer file + * Update sessiond man page with new env var + * Update lttng.1 man page + * Fix: enable-consumer for all domains missing dir + * Fix: Add missing fct prototypes when disabling UST + * Fix a typo in lttng-probe-module name + * Assign values to enum lttcomm_sessiond_command + * Fix: run health test only if root + * Clarify empty string/NULL filter errors + * Fix: add missing padding for UST filter + + Changelog 2.1.0-rc8: + * Fix: Uninit. variable in lttng view + * Add already enabled UST event error code + * lttng.h API update: set filter becomes enable event with filter + * Change the UST event hash table match function + * Pass lttng_event struct to the set_filter API call + * Adding context to an event is no longer possible + * Add UST overlap tests + * Add filter sequence number to UST + * Fix: Typo from a previous patch in an assert() + * Fix: Warn if session is running with lttng view + * Fix: Add bash requirement to README for make check + * Fix: add the notion of domain to lttng.1 man page + * Enable additional kernel probes + * Update CodingStyle + * Use the new functions for default subbuf sizes + * Add default subbuf sizes getter functions + * Add max() and min() macro in common + + Changelog 2.1.0-rc7: + * Fix: Add pointer check when freeing poll events + * Fix: FD leak on thread error + * Fix: Wrong fd used by kernel_wait_quiescent + * Support new lttng-ust error code + * Fix: Don't set filter if enable event fails + * Fix: Wrong data port when listing session + * Fix: Enable event after start command + * Fix: Teardown of thread_manage_clients on failure of listen/create_poll + * Add a timeout to UST application socket + * Fix: Consumerd error socket connect race + * Fix: Set CLOEXEC flag on every created sockets + * Remove consumer poll timeout in data thread + * Fix: RCU hash table seed + * Fix: Do not install health tests helper libraries + * Fix: Create default channel on add-context if none + * Support new liblttng-ust-ctl error code + * Fix: Add EPIPE error handling on buffer splice + * Fix: Channel creation error return code was not set + * Fix: Wrong poll events on UST application socket + * Fix: Remove dependency to urcu-cds in tools tests + * Fix: Missing librt dependency in configure check for lttng-ust-ctl + * Fix: Don't append datetime to default session name + * Fix: Deny session creation name 'auto' + * Fix: Add space for stream name CPU number + * Fix: Add output option to enable-channel command + + Changelog 2.1.0-rc6: + * Tests: Add filtering tests for uncovered cases + * Fix: Sync issue when deleting a data stream + * Rename data_available to data_pending + * Fix: consumer health state + * Fix: Add the ACCOUNTING flag to ht creation and set bucket size to 0 + * Fix: Bad return error code handling + * Fix: Use after free() of the rundir string + * Fix: Cleanup UST app session on ustctl create session error + * Fix: add missing pthread_join in sessiond + * Fix: free running directory string + * Fix: UST app clean list node usage + * Add liblttng-ctl destructor to cleanup memory + * Fix: Cleanup URIs on teardown + * Fix: relayd memleaks + * Fix: Memory leaks of allocated URIs + * Fix: consumer output memory leak on creation + * Fix: missing addrlen initialization before accept(2) + * Fix: relayd trace file padding memleak + * Fix: Remove useless consumer subdir string concatenation + * Fix: lttng create allocated path memleak + * Fix: Cppcheck memleakOnRealloc mistake + * Fix: Synchronization issue for data available command + * Fix: consumer relayd cleanup on disconnect + * Fix: Handle the unary bitwise negation operator (~) in the XML printer + * Fix: Possible memory leaks when creating filter IR root node + * Fix: Delete stream on write error in consumer + * Fix: Error handling when sending relayd sockets to consumer + * Add stream lock comment for nesting + * Fix: Mutex and RCU lock nesting in consumer + * Fix: Uninitialized ret code + * Fix: Remove bad condition and fix overflow issue + * Fix: consumerd pthread error flow + * Fix: Set a single return point and mutex unlock + * Fix: Remove useless NULL and zero assignment + * Fix: segfault on create session with two URLs + + Changelog 2.1.0-rc5: + * Fix: Remove network stream ID ABI calls + * Tests: Add filtering tests + * Wait for data availability when stopping a session + * Relayd data available command support + * Lib lttng-ctl data available command support + * Consumer daemon data available command support + * Add data structure for the data available command + * Change the metadata hash table node + * Make stream hash tables global to the consumer + * Move add data stream to the data thread + * Rename consumer threads and spawn them in daemon + * Fix: relayd close stream command was not working + * Fix: Relayd and consumerd socket leaks + * Fix: Missing -ENODATA handling in the consumer + * Fix: Empty metadata buffer(s) on HUP|ERR + * ABI with support for compat 32/64 bits + * Fix: Stream allocation and insertion consistency + * Fix: output number of bytes written by relayd + * Add hash table argument to helper functions + * Fix: Add missing call rcu and read side lock + * Tests: Fix LD_PRELOAD library lookup path for health tests + * Fix: Add arbitrary wait period for kernel streaming test + * Fix coding style and add/change debug statements + * Fix: Build out of src tree + * Tests: Add health check tests to configure + * Tests: Add health check thread stall test + * Tests: Add health check thread exit test + * Tests: Add a health check utility program + * Add testpoints in lttng-sessiond for each threads + * New testpoint mechanism to instrument binaries for testing + * Fix: off-by-one in comm proto between lttng-ctl and sessiond + * Fix: Metadata stream leak when received in consumer + * Fix: consumer_allocate_stream error handling + * Fix: consumer should await for initial streams + * Fix: Missing rcu read side lock in consumer + + Changelog 2.1.0-rc4: + * Fix: Change sempahore to pthread conditions + * Fix: relayd relay_send_version: handle sscanf return code + * Fix relayd: NULL ptr deref + * Fix: relayd: possible NULL ptr deref, memory leak, accept fd leak + * Tests: add print bytecode to filter grammar test + * Cleanup: assign values to bytecode opcodes + * Fix: Filter: Fix allocation length error + * Fix: Filter: add missing ast free + * Tests: Add high throughput with bandwidth limits test + * Fix: Returned code when listing kernel channel + * Tests: Rename helper functions to have consistent names + * Tests: Cleanup redundant code and use printing helper functions + * Tests: Add helper functions for printing status and banner + * Tests: Add a check for color support when printing status + * Fix: Lib lttng-ctl on error returns lttng code + * Fix: lttng_set_event_filter() was returning bad error code + * Fix: printing [no write] on lttng list -uf + * Fix: Disable event on filter error with lttng + * Fix: Wrong returned error code on UST enable event + * Add consumer commands to lttng.1 man page + * Add lttng_health_check(3) man page + * Fix: Remove LPOLLNVAL from consumer metadata revents + * Fix: Mismatch of field name between ust and tools + * Add the written value when listing fields + * Fix: Consumer return value check after mmap/splice + * Don't send the subbuffer padding for streaming + * Fix: Returned error code in consumer on read buffer + + Changelog 2.1.0-rc3: + * Fix: Relayd fix ret value when adding a connection + * Add new thread in consumer for metadata handling + * Fix: consumer recv command error path + * Fix filter: fix recent regressions + * Update lttng-ust-abi.h from upstream lttng-ust + * Fix: Accept bytecode of length 65536 bytes + * Fix: Generation of bytecode longer than 32768 bytes fails + * Fix: Filter bytecode alloc buffer size must be a power of 2 + * Add lttng-ctl SWIG python bindings + * Add C++ support to API header files + * Librarify filter in liblttng-ctl and hide symbols + * Set hidden visibility for calls used in lttng-ctl + * Notify the user if a filter is already enabled + * Install lttng-error.h and include it in lttng.h + * Add lttng-error.h containing every API err. code + * Fix: missing hostname context + + Changelog 2.1.0-rc2: + * Fix: put back 2.0 output text for lttng create cmd + * Fix: remove set subdir call that uses bad ptr + * Filter: Handle the unary bitwise not operator (~) with an unsupported + * Fix: missing mutex unlock on register consumer err + * Remove underscore from ifndef of lttng.h + * Remove unused define in lttng.h + * Standardize lttng command line usage text + * Merge duplicate code in consumer for destroy relayd + * Merge duplicate code in consumer for add relayd + * Fix: Possible buffer overflows in strncat() usage + * Move code out of main.c and fix some issues + + Changelog 2.1.0-rc1: + * Feature: Network Streaming + * Add the lttng-relayd binary for network streaming + * Support user space tracer filtering + * Multiple fixes + +------------------------------------------------------------------- +Fri Jun 29 18:54:50 UTC 2012 - tonyj@suse.com + +- Update to release 2.0.3 + +------------------------------------------------------------------- +Thu Jun 21 19:02:15 UTC 2012 - tonyj@suse.com + +- Update to release 2.0.2 + +------------------------------------------------------------------- +Thu Jun 14 16:19:39 CEST 2012 - ro@suse.de + +- changed specfile license entry to GPL-2.0 and LGPL-2.1 + +------------------------------------------------------------------- +Fri Apr 20 20:07:41 UTC 2012 - tonyj@suse.com + +- Update to release 2.0.1 + +------------------------------------------------------------------- +Wed Mar 21 23:34:25 UTC 2012 - tonyj@suse.com + +- Update to release 2.0.0 + +------------------------------------------------------------------- +Wed Mar 14 16:31:16 UTC 2012 - tonyj@suse.com + +- Update to version 2.0.0-rc2 + +------------------------------------------------------------------- +Mon Feb 27 22:45:58 UTC 2012 - tonyj@suse.com + +- Update to version 2.0.0-rc1 + +------------------------------------------------------------------- +Wed Jan 4 19:54:56 UTC 2012 - tonyj@suse.com + +- Update to version 2.0.pre16 + diff --git a/lttng-tools.keyring b/lttng-tools.keyring new file mode 100644 index 0000000..a793646 --- /dev/null +++ b/lttng-tools.keyring @@ -0,0 +1,173 @@ +pub rsa4096 2013-01-08 [SC] [expires: 2018-11-29] + 7F49 314A 26E0 DE78 4276 80E0 5F1B 2A07 89F1 2B11 +uid [ unknown] J�r�mie Galarneau +uid [ unknown] J�r�mie Galarneau +sub rsa4096 2013-01-08 [E] + +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBFDsPtgBEACp9imzutRAOB0S/t74tEUq7AKZULpoXwRUZDjGdaa1kpA9SE6j +ybUWrMv1MYfpC7dTlI7vesnRmaZMYYzxkQ61hA2wcEahvXeX180YXTss+Y26C8hh +pE2mds/5Thsqqj0iL1pQPLdeoj7eCeXfl6nJ1TtA4C5dio/Lt/WTwOjmuXs7LKV3 +8NdcH76gJSttwHwddnHEAuQQKJ/eN46tYUlQVN4ffMdUze+Kj8OA8OB9JQHg3t+l +G+O9VB1AvocnU9LOMTLOCsfasMc8ZDMAc6K5ErfLGS+sOrXOz9xnyfoR5ZDZPuY4 +h7UJbdAeIf6INrXZIsJCtLJ/Zs8CrnVgFpARwmvECFhmBh2ZjiFy1ucd56if27h0 +93PWGHwS1u0jpinrLFssbCuI1nJrosAKn009KE64XkeJ8ft83OAsIQHxWqjR6tgd +zZhNshduWTdV5WvD/VSF2cs/YzD9FNjCc5Os0/Y/0PzDLOhQSMUlh0EDJiA+HYuL +uBbSSfX53OsC8JEsKKTaZ2DdTRAWbs3K3Cybq1kxunCGXrD+SixjluawQiu4wLz+ +XocYzv1eTXmX0JUW2gG1OSPEFMxWA1QHpeIEUO1SE0xllhZ5xiNkHsy5rESZdAPf +arr/Mb1oINFpIsg9beJJUZodTkC8WXqHrC4GP3/ptf2xh6FXRGIskb9pNQARAQAB +tDFKw6lyw6ltaWUgR2FsYXJuZWF1IDxqZXJlbWllLmdhbGFybmVhdUBnbWFpbC5j +b20+iQIcBBMBCgAGBQJW1MSkAAoJEIZW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xVZfOooww6dqUCgpnW0k +STLv9mTRvzGfOCQbyhgudTcygng57c+OqCja42fp0pW/v8oriTypNzSSrip4HAOC +lQj1cLG1UQMqOIonPBhmSHxaj/WWbasLBp/uQUkIWegIY9lsz1QaZs2P +=oPHw +-----END PGP PUBLIC KEY BLOCK----- diff --git a/lttng-tools.spec b/lttng-tools.spec new file mode 100644 index 0000000..f9b3626 --- /dev/null +++ b/lttng-tools.spec @@ -0,0 +1,111 @@ +# +# spec file for package lttng-tools +# +# Copyright (c) 2023 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define _version 2.13.0 +%define soname_ctl liblttng-ctl +%define sover_ctl 0 +Name: lttng-tools +Version: 2.13.11 +Release: 0 +Summary: Linux Trace Toolkit Next Generation userspace tools +License: GPL-2.0-only AND LGPL-2.1-only +Group: Development/Tools/Other +URL: https://lttng.org/ +Source: https://lttng.org/files/lttng-tools/%{name}-%{version}.tar.bz2 +Source1: https://lttng.org/files/lttng-tools/%{name}-%{version}.tar.bz2.asc +Source2: %{name}.keyring +# PATCH-FIX-OPENSUSE lttng-tools-fix-pkgconfig.patch sor.alexei@meowr.ru -- Add missing dependencies to lttng-ctl.pc. +Patch0: lttng-tools-fix-pkgconfig.patch +BuildRequires: bison +BuildRequires: flex +BuildRequires: pkgconfig +BuildRequires: popt-devel +BuildRequires: pkgconfig(liburcu) +BuildRequires: pkgconfig(libxml-2.0) +BuildRequires: pkgconfig(lttng-ust) >= %{_version} +BuildRequires: pkgconfig(uuid) +Requires: babeltrace +Recommends: lttng-modules-kmp +ExclusiveArch: %ix86 x86_64 aarch64 ppc64 ppc64le + +%description +This package provides the userspace tools for controlling the LTTng +subsystem from userspace. + +%package -n %{soname_ctl}%{sover_ctl} +Summary: Linux Trace Toolkit Next Generation control and utility library +Group: System/Libraries + +%description -n %{soname_ctl}%{sover_ctl} +This package provides a userspace library for controlling the LTTng +subsystem. It is primarily intended for use by the lttng-tools +package. + +%package devel +Summary: Linux Trace Toolkit Next Generation userspace tools +Group: Development/Languages/C and C++ +Requires: %{soname_ctl}%{sover_ctl} >= %{_version}-%{release} + +%description devel +This package provides the userspace tools for controlling the LTTng +subsystem from userspace. + +%prep +%autosetup -p1 + +%build +%configure \ + --docdir=%{_docdir}/%{name} \ + --disable-static +%make_build + +%install +%make_install +find %{buildroot} -type f -name "*.la" -delete -print + +%post -n %{soname_ctl}%{sover_ctl} -p /sbin/ldconfig + +%postun -n %{soname_ctl}%{sover_ctl} -p /sbin/ldconfig + +%files +%doc %{_docdir}/%{name}/ +%license LICENSE +%{_bindir}/lttng +%{_bindir}/lttng-crash +%{_bindir}/lttng-relayd +%{_libdir}/lttng/libexec/lttng-consumerd +%{_bindir}/lttng-sessiond +%{_mandir}/man1/*.1%{?ext_man} +%{_mandir}/man3/*.3%{?ext_man} +%{_mandir}/man7/*.7%{?ext_man} +%{_mandir}/man8/*.8%{?ext_man} +%dir %{_libdir}/lttng/ +%dir %{_libdir}/lttng/libexec/ +%dir %{_datadir}/xml/lttng/ +%{_datadir}/xml/lttng/session.xsd + +%files -n %{soname_ctl}%{sover_ctl} +%license LICENSE +%{_libdir}/%{soname_ctl}.so.%{sover_ctl}* + +%files devel +%{_includedir}/lttng/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/lttng-ctl.pc + +%changelog