diff --git a/.files b/.files
index 4c1c84c..ff33a0d 100644
Binary files a/.files and b/.files differ
diff --git a/.rev b/.rev
index 2c0ce42..c4f756e 100644
--- a/.rev
+++ b/.rev
@@ -47,4 +47,36 @@
- Update to release 1.4.01124723
+
+ c2248eb3390734bf800d82c8c8df5ccb
+ 1.5.1
+
+ anag+factory
+ - update to 1.5.1:
+ * Fix free_zpage() offset accounting. The read_zpage() subtracted
+ the offset from the file start to find where to get the
+ compressed data, but the free_zpage() did not, and would fail to
+ find and free the passed in zpage.
+ * Have function_graph plugin break apart functions that migrate
+ between CPUs from entry to exit even if there is no event in
+ between.
+ * Fix iterators for when there's CPUs with no data. It was using
+ the total number of CPUs to iterate the cpu_data[] array, that
+ only contains CPUs with content.
+ * Fix iterator with respect to function_graph handle that may do
+ a peek of the next event to know if it should merge the entry
+ and exit events of a function.
+ * Some other small fixes and clean ups
+ * tracecmd_iterate_events_reverse(): Will iterate events in the
+ trace.dat file from the last event to the first.
+ * tracecmd_iterate_reset(): Reset the iterator to restart from the
+ beginning.
+ * Fix meson build
+ * Have callbacks exit out of iterator as the man page for
+ tracecmd_iterate_events() says it should.
+ * Have tracecmd_iterate_events() start where it left off
+ * Speed up freeing the zpages by using an rbtree instead of a flat
+ link
+ 1142676
+
diff --git a/libtracecmd.changes b/libtracecmd.changes
index 740bbaa..7eb33dc 100644
--- a/libtracecmd.changes
+++ b/libtracecmd.changes
@@ -1,4 +1,33 @@
-------------------------------------------------------------------
+Mon Jan 29 22:07:19 UTC 2024 - Dirk Müller
+
+- update to 1.5.1:
+ * Fix free_zpage() offset accounting. The read_zpage() subtracted
+ the offset from the file start to find where to get the
+ compressed data, but the free_zpage() did not, and would fail to
+ find and free the passed in zpage.
+ * Have function_graph plugin break apart functions that migrate
+ between CPUs from entry to exit even if there is no event in
+ between.
+ * Fix iterators for when there's CPUs with no data. It was using
+ the total number of CPUs to iterate the cpu_data[] array, that
+ only contains CPUs with content.
+ * Fix iterator with respect to function_graph handle that may do
+ a peek of the next event to know if it should merge the entry
+ and exit events of a function.
+ * Some other small fixes and clean ups
+ * tracecmd_iterate_events_reverse(): Will iterate events in the
+ trace.dat file from the last event to the first.
+ * tracecmd_iterate_reset(): Reset the iterator to restart from the
+ beginning.
+ * Fix meson build
+ * Have callbacks exit out of iterator as the man page for
+ tracecmd_iterate_events() says it should.
+ * Have tracecmd_iterate_events() start where it left off
+ * Speed up freeing the zpages by using an rbtree instead of a flat
+ link
+
+-------------------------------------------------------------------
Thu Nov 9 15:23:53 UTC 2023 - Jan Engelhardt
- Update to release 1.4.0
diff --git a/libtracecmd.spec b/libtracecmd.spec
index dfc9292..99cd051 100644
--- a/libtracecmd.spec
+++ b/libtracecmd.spec
@@ -1,7 +1,7 @@
#
# spec file for package libtracecmd
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
Name: libtracecmd
%define lname libtracecmd1
-Version: 1.4.0
+Version: 1.5.1
Release: 0
Summary: Library for creating and reading trace-cmd data files
License: LGPL-2.1-only
diff --git a/trace-cmd-libtracecmd-1.4.0.tar.gz b/trace-cmd-libtracecmd-1.4.0.tar.gz
deleted file mode 120000
index 10ac73c..0000000
--- a/trace-cmd-libtracecmd-1.4.0.tar.gz
+++ /dev/null
@@ -1 +0,0 @@
-/ipfs/bafybeiexxpyns57lab3wruy4g72leeypx5lxjui6kiqwcjhpgkh4v5jgj4
\ No newline at end of file
diff --git a/trace-cmd-libtracecmd-1.5.1.tar.gz b/trace-cmd-libtracecmd-1.5.1.tar.gz
new file mode 120000
index 0000000..9e6de02
--- /dev/null
+++ b/trace-cmd-libtracecmd-1.5.1.tar.gz
@@ -0,0 +1 @@
+/ipfs/bafybeifsj4t4smogfh5liekbtcf27xxhkiezzjui5bvf5r3mlbrvo7c56m
\ No newline at end of file