commit | d227f133a84c1b67643857bee1badadd0f3d5846 | [log] [tgz] |
---|---|---|
author | Felipe Balbi <balbi@kernel.org> | Fri Dec 16 12:27:53 2022 +0200 |
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | Fri Dec 16 07:35:11 2022 -0500 |
tree | dd65f1dc7b8f463ab386c72c7d4917187ac26d06 | |
parent | 826b06bb2484a53fdae196e12ec507a67ec87055 [diff] |
libtraceevent: Remove global input buffer When using the library with multiple threads, the global input buffer pointer gets modified concurrently by each thread. An easy fix for the problems that arise is to give each struct tep_handle its own input buffer pointer. Link: https://lore.kernel.org/linux-trace-devel/20221216102754.257174-1-balbi@kernel.org Signed-off-by: Felipe Balbi <balbi@kernel.org> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>