lib/third_party/tracing/extras/importer/linux_perf/kfunc_parser.js
function KernelFuncParser(importer) {
    LinuxPerfParser.call(this, importer);

    importer.registerEventHandler('graph_ent',
        KernelFuncParser.prototype.traceKernelFuncEnterEvent.
            bind(this));
    importer.registerEventHandler('graph_ret',
        KernelFuncParser.prototype.traceKernelFuncReturnEvent.
            bind(this));

    this.model_ = importer.model_;
    this.ppids_ = {};
  }
function KernelFuncParser(importer) {
    LinuxPerfParser.call(this, importer);

    importer.registerEventHandler('graph_ent',
        KernelFuncParser.prototype.traceKernelFuncEnterEvent.
            bind(this));
    importer.registerEventHandler('graph_ret',
        KernelFuncParser.prototype.traceKernelFuncReturnEvent.
            bind(this));

    this.model_ = importer.model_;
    this.ppids_ = {};
  }
function KernelFuncParser ( importer ) { LinuxPerfParser . call ( this , importer ) ; importer . registerEventHandler ( 'graph_ent' , KernelFuncParser . prototype . traceKernelFuncEnterEvent . bind ( this ) ) ; importer . registerEventHandler ( 'graph_ret' , KernelFuncParser . prototype . traceKernelFuncReturnEvent . bind ( this ) ) ; this . model_ = importer . model_ ; this . ppids_ = { } ; }
Parses graph_ent and graph_ret events that were inserted by the Linux
kernel's function graph trace.
@constructor
Parses graph_ent and graph_ret events that were inserted by the Linux kernel s function graph trace .