Fixes for peripheral clock
Created by: Leo-Yan
This patch set is to fixing peripheral clock analysis and support plotting the frequency.
The first two patches are to fix the clock event analysis, so that we can get the correct data frame for peripheral clocks. The third patch adds method for plotting the peripheral clock frequency.