Fix: lttng-gen-tp: only replace file extension
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Tue, 19 Sep 2017 16:08:33 +0000 (12:08 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 19 Sep 2017 17:05:34 +0000 (13:05 -0400)
commitb171442307a02a52e41f2f262ed83c360049724e
tree4389396b40457790ef6d41350e36e4212ab9a977
parentd0f6cf574ef992620b09c183cb3a0ea771070ea5
Fix: lttng-gen-tp: only replace file extension

Previous replace was done on the complete path. A path containing
.c or .o would result in a corrupted file path.

Reported-by: Gunnar Strand <Gunnar.Strand@ericsson.com>
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
tools/lttng-gen-tp
This page took 0.024784 seconds and 5 git commands to generate.