G'Day,
I was just trying Hemant Kumar's user SDT patch
(http://lwn.net/Articles/618956/); anyone else tried it recently? I
applied it to 4.0.0-rc6, and it creates instrumentation, but doesn't
record the probes.
This works (it finds the Node.js probes):
# ./perf sdt-cache --dump
/home/bgregg-testtest/node-standard/out/Release/node:
%node:net__server__connection
%node:net__stream__end
%node:net__socket__read
%node:net__socket__write
%node:http__server__request
%node:http__server__response
%node:http__client__request
%node:http__client__response
%node:gc__done
%node:gc__start
But I can't "perf list" or record them:
# ./perf record -e '%node:http__server__request' -aR
invalid or unsupported event: '%node:http__server__request'
Run 'perf list' for a list of valid events
[...]
stap works:
# /root/systemtap-2.8/bin/stap -e 'probe
process("/home/bgregg-testtest/node-standard/out/Release/node").mark("http__server__request")
{ println("hit"); }'
hit
hit
Brendan
--
To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html