Skip to content

Commit e624f73

Browse files
committed
Merge tag 'perf-urgent-2025-11-23' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull perf fixes from Ingo Molnar: "Fix perf CPU-clock counters, and address a static checker warning" * tag 'perf-urgent-2025-11-23' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: perf: Fix 0 count issue of cpu-clock perf/x86/intel/uncore: Remove superfluous check
2 parents d13f3ac + f1f9651 commit e624f73

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

arch/x86/events/intel/uncore.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1325,8 +1325,6 @@ static void uncore_pci_sub_driver_init(void)
13251325
continue;
13261326

13271327
pmu = &type->pmus[UNCORE_PCI_DEV_IDX(ids->driver_data)];
1328-
if (!pmu)
1329-
continue;
13301328

13311329
if (uncore_pci_get_dev_die_info(pci_sub_dev, &die))
13321330
continue;

kernel/events/core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11901,7 +11901,7 @@ static int cpu_clock_event_add(struct perf_event *event, int flags)
1190111901

1190211902
static void cpu_clock_event_del(struct perf_event *event, int flags)
1190311903
{
11904-
cpu_clock_event_stop(event, flags);
11904+
cpu_clock_event_stop(event, PERF_EF_UPDATE);
1190511905
}
1190611906

1190711907
static void cpu_clock_event_read(struct perf_event *event)

0 commit comments

Comments
 (0)