Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

rtla: Follow kernel version

To avoid having commits with new version, it is just easier to follow
kernel version.

Link: https://lkml.kernel.org/r/9c2df0d1de65cea96c7d731fe64781a2bb90c5b3.1643990447.git.bristot@kernel.org

Cc: Daniel Bristot de Oliveira <bristot@kernel.org>
Cc: linux-kernel@vger.kernel.org
Cc: linux-trace-devel@vger.kernel.org
Signed-off-by: Daniel Bristot de Oliveira <bristot@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>

authored by

Daniel Bristot de Oliveira and committed by
Steven Rostedt (Google)
8619e328 67ab5eb7

+3 -1
+3 -1
tools/tracing/rtla/Makefile
··· 1 1 NAME := rtla 2 - VERSION := 0.5 2 + # Follow the kernel version 3 + VERSION := $(shell cat VERSION 2> /dev/null || make -sC ../../.. kernelversion) 3 4 4 5 # From libtracefs: 5 6 # Makefiles suck: This macro sets a default value of $(2) for the ··· 86 85 87 86 tarball: clean 88 87 rm -rf $(NAME)-$(VERSION) && mkdir $(NAME)-$(VERSION) 88 + echo $(VERSION) > $(NAME)-$(VERSION)/VERSION 89 89 cp -r $(DIRS) $(FILES) $(NAME)-$(VERSION) 90 90 mkdir $(NAME)-$(VERSION)/Documentation/ 91 91 cp -rp $(SRCTREE)/../../../Documentation/tools/rtla/* $(NAME)-$(VERSION)/Documentation/