]> git.lttng.org Git - lttng-ust.git/commit
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:46 +0000 (13:05 -0400)
commit11d080d62d69258d080380dc951dccd33a391b6f
treec9e3ab6a1296f54edecfa6bd5ac148e17533bedd
parentf717926c7827f56c903d3f4302ac58ae76d47174
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.02844 seconds and 4 git commands to generate.