Commit 74d2e6cd authored by Vicent Marti's avatar Vicent Marti

bcc-probe: Allow loading absolute paths

parent df11f321
......@@ -28,7 +28,7 @@ local utils = {
}
local tracefile = table.remove(arg, 1)
local command = require(tracefile:gsub("%.lua", ""))
local command = dofile(tracefile)
local res, err = pcall(command, BPF, utils)
if not res then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment