]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Merge tag 'trace-v7.1-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 22 May 2026 13:09:58 +0000 (06:09 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 22 May 2026 13:09:58 +0000 (06:09 -0700)
commit23884007afe901352349e709e33eb19373a842d7
treee698633fffae9e8d69b3f459bc0d07e1896e4d06
parent6779b50faa562e6cca1aa6a4649a4d764c6c7e28
parent8f0f5c4fb9df0e19a341e0c6ed8dc4fda9124f03
Merge tag 'trace-v7.1-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace

Pull tracing fixes from Steven Rostedt:

 - Avoid NULL return from hist_field_name()

   The function hist_field_name() is directly passed to a strcat() which
   does not handle "NULL" characters. Return a zero length string when
   size is greater than the limit.

   This is used only to output already created histograms and no field
   currently is greater than the limit. But it should still not return
   NULL.

 - Do not call map->ops->elt_free() on allocation failure

   When elt_alloc() fails, it should not call the map->ops->elt_free()
   function if it exists, as that function may not be able to handle the
   free on allocation failures. The ->elt_free() should only be called
   when elt_alloc() succeeds.

* tag 'trace-v7.1-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
  tracing: Do not call map->ops->elt_free() if elt_alloc() fails
  tracing: Avoid NULL return from hist_field_name() on truncation