kernelshark: Fix bug with Plot CPU filtering
kernelshark: Fix bug with Plot CPU filtering

Plot CPU filtering in kernelshark has the following bug:
1) Deselect CPU A from Plot CPU list
2) Plot gets updated with no CPU A
3) Deselect CPU B
4) Plot continues to have CPU B

This is due to a bug in graph_plot_cpus_update_callback(),
which seems to be checking old_all_cpus != new_all_cpus before doing any
update. This condition is true on 1, but false on 2.
Removing that check fixes the problem.

Tested:
Above sequence now does expected filtering.

Google-bug-id: 4258610
Link: http://lkml.kernel.org/r/1352944274-21699-1-git-send-email-d17c0a8430b0bd65a7a6ae309f7a3dc190d92668@google.com

Signed-off-by: Venkatesh Pallipadi <0192021264f7ae88e4662be72db68a0c93b1d052@google.com>
Signed-off-by: David Sharp <d17c0a8430b0bd65a7a6ae309f7a3dc190d92668@google.com>
Signed-off-by: Steven Rostedt <43232e92d70cc7aa53504ad0397085ee47bad87f@goodmis.org>

bigzz/trace-cmd,bigzz/trace-cmd