summaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
authorMao Han <han_mao@c-sky.com>2019-06-04 18:54:49 +0800
committerGuo Ren <ren_guo@c-sky.com>2019-07-19 14:21:36 +0800
commitd41435d9b2b3f8fb58dc1258220401ad16aa8a19 (patch)
tree540a4403883432901eb55b4ee166b281addeaa53 /.clang-format
parentf622fbf205966a8e911f81a00db17997dd171404 (diff)
downloadlinux-d41435d9b2b3f8fb58dc1258220401ad16aa8a19.tar.bz2
csky: Fix perf record in kernel/user space
csky_pmu_event_init is called several times during the perf record initialzation. After configure the event counter in either kernel space or user space, csky_pmu_event_init is called twice with no attr specified. Configuration will be overwritten with sampling in both kernel space and user space. --all-kernel/--all-user is useless without this patch applied. Signed-off-by: Mao Han <han_mao@c-sky.com> Signed-off-by: Guo Ren <guoren@kernel.org>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions