Commit 6f88ad6f authored by Brendan Gregg's avatar Brendan Gregg Committed by GitHub

Merge pull request #105 from iovisor/fix-103

fix attach to tracepoint regression
parents 6f2f1fdb 6ddb5ec2
...@@ -168,7 +168,7 @@ std::string AttachedProbe::eventname() const ...@@ -168,7 +168,7 @@ std::string AttachedProbe::eventname() const
offset_str << std::hex << offset(); offset_str << std::hex << offset();
return eventprefix() + sanitise(probe_.path) + "_" + offset_str.str() + index_str; return eventprefix() + sanitise(probe_.path) + "_" + offset_str.str() + index_str;
case ProbeType::tracepoint: case ProbeType::tracepoint:
return probe_.attach_point + index_str; return probe_.attach_point;
default: default:
abort(); abort();
} }
......
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