History

kernel/events: Add a missing prototype for arch_perf_update_userpage()

... in order to fix a -Wmissing-prototype warning. No functional changes.

Benjamin Thiel committed 6 years ago

Commit f1ec3a51 parent 07c59721 file · +4 −0Browse files

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

Unified · Split

include/linux/perf_event.h+4−0
@@ -1544,4 +1544,8 @@ int perf_event_exit_cpu(unsigned int cpu); · 1543 unmodified lines
15441544 #define perf_event_exit_cpu NULL
15451545 #endif
15461546
1547+extern void __weak arch_perf_update_userpage(struct perf_event *event,
1548+ struct perf_event_mmap_page *userpg,
1549+ u64 now);
1550+
15471551 #endif /* _LINUX_PERF_EVENT_H */

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