25 lines
1.1 KiB
Diff
25 lines
1.1 KiB
Diff
diff -up libpfm-4.2.0/perf_examples/notify_group.c.siginfo_t libpfm-4.2.0/perf_examples/notify_group.c
|
|
--- libpfm-4.2.0/perf_examples/notify_group.c.siginfo_t 2012-06-07 14:48:30.969999948 -0400
|
|
+++ libpfm-4.2.0/perf_examples/notify_group.c 2012-06-07 14:49:13.124000197 -0400
|
|
@@ -51,7 +51,7 @@ static int num_fds;
|
|
static int buffer_pages = 1; /* size of buffer payload (must be power of 2) */
|
|
|
|
static void
|
|
-sigio_handler(int n, struct siginfo *info, struct sigcontext *sc)
|
|
+sigio_handler(int n, siginfo_t *info, struct sigcontext *sc)
|
|
{
|
|
struct perf_event_mmap_page *hdr;
|
|
struct perf_event_header ehdr;
|
|
diff -up libpfm-4.2.0/perf_examples/notify_self.c.siginfo_t libpfm-4.2.0/perf_examples/notify_self.c
|
|
--- libpfm-4.2.0/perf_examples/notify_self.c.siginfo_t 2012-06-07 14:48:39.559998906 -0400
|
|
+++ libpfm-4.2.0/perf_examples/notify_self.c 2012-06-07 14:49:02.143000006 -0400
|
|
@@ -47,7 +47,7 @@ static int num_fds = 0;
|
|
static int buffer_pages = 1; /* size of buffer payload (must be power of 2)*/
|
|
|
|
static void
|
|
-sigio_handler(int n, struct siginfo *info, void *uc)
|
|
+sigio_handler(int n, siginfo_t *info, void *uc)
|
|
{
|
|
struct perf_event_header ehdr;
|
|
int ret, id;
|