lkml.org 
[lkml]   [2023]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] Minor fix and cleanup for hisi_pcie_pmu
Date
From: Yicong Yang <yangyicong@hisilicon.com>

This patchset includes 2 minor updates for the hisi_pcie_pmu:
- fix issue that we may touch others events in some case
- modify the event->cpu only on the success pmu::event_init()

Yicong Yang (2):
drivers/perf: hisi_pcie: Check the type first in pmu::event_init()
drivers/perf: hisi_pcie: Initialize event->cpu only on success

drivers/perf/hisilicon/hisi_pcie_pmu.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)

--
2.24.0

\
 
 \ /
  Last update: 2023-10-24 11:35    [W:0.050 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site