I am new to chromium. I am going to add some tracepoints to chromium's source code. I followed the instructions
HERE but I cannot see the event in my trace. I added the following part to line 377 as well as
doSomethingCostly()to line 389 in the file "/home/majid/Documents/chromium/src/third_party/blink/renderer/core/script/html_parser_script_runner.cc"
void doSomethingCostly() {
TRACE_EVENT0("blink", "doSomethingCostly");
}
Moreover, I added #include "base/trace_event/trace_event.h" to the top of source file. So, whenever the HTMLParserScriptRunner::ExecuteScriptsWaitingForLoad is called, the added tracepoint should be run, but I cannot see that.
Any response would be appreciated.