History

Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull perf fixes from Ingo Molnar: "Two fixes on the kernel side: fix an over-eager condition that failed larger perf ring-buffer sizes, plus fix crashes in the Intel BTS code for a corner case, found by fuzzing" * 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: perf/core: Fix impossible ring-buffer sizes warning perf/x86: Add check_period PMU callback

Linus Torvalds committed 7 years ago

Commit dd6f29d2 parents c5f1ac5 528871b6 files · +59 −3Browse files

Showing the changes to include/linux (1 of 6 files). Show all

Unified · Split

include/linux/perf_event.h+5−0
@@ -447,6 +447,11 @@ struct pmu { · 446 unmodified lines
447447 * Filter events for PMU-specific reasons.
448448 */
449449 int (*filter_match) (struct perf_event *event); /* optional */
450+
451+ /*
452+ * Check period value for PERF_EVENT_IOC_PERIOD ioctl.
453+ */
454+ int (*check_period) (struct perf_event *event, u64 value); /* optional */
450455 };
451456
452457 enum perf_addr_filter_action_t {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t