[GIT]: libpfm4 branch, master, updated. 61fc9a5c5087b9ef4c10f54ccb84f2eff3afdf5d
Status: Beta
Brought to you by:
seranian
From: seranian <ser...@us...> - 2010-07-26 21:36:28
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "libpfm4". The branch, master has been updated via 61fc9a5c5087b9ef4c10f54ccb84f2eff3afdf5d (commit) from 27304bc7eb9bb82e01d916e04bf5299c12267649 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 61fc9a5c5087b9ef4c10f54ccb84f2eff3afdf5d Author: Stephane Eranian <er...@gm...> Date: Mon Jul 26 23:31:29 2010 +0200 fix allocation of num_fds[] when -c option is used Need to allocate the num_fds array such that it would fit any CPU index, not just 0. It would just allocate a single entry when -c was used, but then it was not correcting the cpu number, so it was indexing past the array which could cause segfault. Signed-off-by: Stephane Eranian <er...@gm...> ----------------------------------------------------------------------- Summary of changes: perf_examples/syst.c | 10 ++++------ perf_examples/syst_count.c | 11 +++++------ 2 files changed, 9 insertions(+), 12 deletions(-) hooks/post-receive -- libpfm4 |