lib/third_party/tracing/extras/importer/linux_perf/disk_parser.js
function DiskParser(importer) {
    Parser.call(this, importer);

    importer.registerEventHandler('f2fs_write_begin',
        DiskParser.prototype.f2fsWriteBeginEvent.bind(this));
    importer.registerEventHandler('f2fs_write_end',
        DiskParser.prototype.f2fsWriteEndEvent.bind(this));
    importer.registerEventHandler('f2fs_sync_file_enter',
        DiskParser.prototype.f2fsSyncFileEnterEvent.bind(this));
    importer.registerEventHandler('f2fs_sync_file_exit',
        DiskParser.prototype.f2fsSyncFileExitEvent.bind(this));
    importer.registerEventHandler('ext4_sync_file_enter',
        DiskParser.prototype.ext4SyncFileEnterEvent.bind(this));
    importer.registerEventHandler('ext4_sync_file_exit',
        DiskParser.prototype.ext4SyncFileExitEvent.bind(this));
    importer.registerEventHandler('ext4_da_write_begin',
        DiskParser.prototype.ext4WriteBeginEvent.bind(this));
    importer.registerEventHandler('ext4_da_write_end',
        DiskParser.prototype.ext4WriteEndEvent.bind(this));
    importer.registerEventHandler('block_rq_issue',
        DiskParser.prototype.blockRqIssueEvent.bind(this));
    importer.registerEventHandler('block_rq_complete',
        DiskParser.prototype.blockRqCompleteEvent.bind(this));
  }
function DiskParser(importer) {
    Parser.call(this, importer);

    importer.registerEventHandler('f2fs_write_begin',
        DiskParser.prototype.f2fsWriteBeginEvent.bind(this));
    importer.registerEventHandler('f2fs_write_end',
        DiskParser.prototype.f2fsWriteEndEvent.bind(this));
    importer.registerEventHandler('f2fs_sync_file_enter',
        DiskParser.prototype.f2fsSyncFileEnterEvent.bind(this));
    importer.registerEventHandler('f2fs_sync_file_exit',
        DiskParser.prototype.f2fsSyncFileExitEvent.bind(this));
    importer.registerEventHandler('ext4_sync_file_enter',
        DiskParser.prototype.ext4SyncFileEnterEvent.bind(this));
    importer.registerEventHandler('ext4_sync_file_exit',
        DiskParser.prototype.ext4SyncFileExitEvent.bind(this));
    importer.registerEventHandler('ext4_da_write_begin',
        DiskParser.prototype.ext4WriteBeginEvent.bind(this));
    importer.registerEventHandler('ext4_da_write_end',
        DiskParser.prototype.ext4WriteEndEvent.bind(this));
    importer.registerEventHandler('block_rq_issue',
        DiskParser.prototype.blockRqIssueEvent.bind(this));
    importer.registerEventHandler('block_rq_complete',
        DiskParser.prototype.blockRqCompleteEvent.bind(this));
  }
function DiskParser ( importer ) { Parser . call ( this , importer ) ; importer . registerEventHandler ( 'f2fs_write_begin' , DiskParser . prototype . f2fsWriteBeginEvent . bind ( this ) ) ; importer . registerEventHandler ( 'f2fs_write_end' , DiskParser . prototype . f2fsWriteEndEvent . bind ( this ) ) ; importer . registerEventHandler ( 'f2fs_sync_file_enter' , DiskParser . prototype . f2fsSyncFileEnterEvent . bind ( this ) ) ; importer . registerEventHandler ( 'f2fs_sync_file_exit' , DiskParser . prototype . f2fsSyncFileExitEvent . bind ( this ) ) ; importer . registerEventHandler ( 'ext4_sync_file_enter' , DiskParser . prototype . ext4SyncFileEnterEvent . bind ( this ) ) ; importer . registerEventHandler ( 'ext4_sync_file_exit' , DiskParser . prototype . ext4SyncFileExitEvent . bind ( this ) ) ; importer . registerEventHandler ( 'ext4_da_write_begin' , DiskParser . prototype . ext4WriteBeginEvent . bind ( this ) ) ; importer . registerEventHandler ( 'ext4_da_write_end' , DiskParser . prototype . ext4WriteEndEvent . bind ( this ) ) ; importer . registerEventHandler ( 'block_rq_issue' , DiskParser . prototype . blockRqIssueEvent . bind ( this ) ) ; importer . registerEventHandler ( 'block_rq_complete' , DiskParser . prototype . blockRqCompleteEvent . bind ( this ) ) ; }
Parses linux filesystem and block device trace events.
@constructor
Parses linux filesystem and block device trace events .