Skip to content

Commit

Permalink
Merge pull request google#41 from sebpop/master
Browse files Browse the repository at this point in the history
auto-fdo: add missing perf event type
  • Loading branch information
danielcdh authored Dec 14, 2016
2 parents 7c681a9 + 22d3fba commit fd12c7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions chromiumos-wide-profiling/kernel/perf_event.h
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,7 @@ enum perf_event_type {
*/
PERF_RECORD_MMAP2 = 10,

PERF_RECORD_FINISHED_ROUND = 68,
PERF_RECORD_MAX, /* non-ABI */
};

Expand Down
1 change: 1 addition & 0 deletions chromiumos-wide-profiling/perf_parser.cc
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ bool PerfParser::ProcessEvents() {
case PERF_RECORD_UNTHROTTLE:
case PERF_RECORD_READ:
case PERF_RECORD_MAX:
case PERF_RECORD_FINISHED_ROUND:
VLOG(1) << "Parsed event type: " << event.header.type
<< ". Doing nothing.";
break;
Expand Down

0 comments on commit fd12c7d

Please sign in to comment.