[PATCH 17/19] perf sched timehist: Add support for context-switch event

2013-08-07 Thread David Ahern
Context switch events are 64 bytes; sched_switch events are 136 bytes. Both indicate scheduling changes, so allow user to leverage the smaller event. If both events exist in a data file, then context-switch event is ignored. Signed-off-by: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar

[PATCH 17/19] perf sched timehist: Add support for context-switch event

2013-08-07 Thread David Ahern
Context switch events are 64 bytes; sched_switch events are 136 bytes. Both indicate scheduling changes, so allow user to leverage the smaller event. If both events exist in a data file, then context-switch event is ignored. Signed-off-by: David Ahern dsah...@gmail.com Cc: Frederic Weisbecker