Skip to content

Add function prototype for perf_event_open#11

Open
andreas-abel wants to merge 1 commit intoithemal:masterfrom
andreas-abel:perf_event_open
Open

Add function prototype for perf_event_open#11
andreas-abel wants to merge 1 commit intoithemal:masterfrom
andreas-abel:perf_event_open

Conversation

@andreas-abel
Copy link

This pull request adds a missing prototype for perf_event_open.

Without this, the following warning occurs when running make:

rdpmc.c: In function ‘rdpmc_open_attr’:
rdpmc.c:85:12: warning: implicit declaration of function ‘perf_event_open’ [-Wimplicit-function-declaration]
   85 |  ctx->fd = perf_event_open(attr, 0, -1,

@fioushen
Copy link

fioushen commented Feb 7, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants