diff options
| author | Ingo Molnar <mingo@kernel.org> | 2017-01-05 02:33:02 -0500 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2017-01-05 02:33:02 -0500 |
| commit | 4e06d4f083d6b485d689948479d5b2052917373d (patch) | |
| tree | b100fbc57357f4c8b546b354e166ddf812ac694c /samples | |
| parent | 0c744ea4f77d72b3dcebb7a8f2684633ec79be88 (diff) | |
| parent | 8a937a25a7e3c19d5fb3f9d92f605cf5fda219d8 (diff) | |
Merge tag 'perf-urgent-for-mingo-4.10-20170104' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent
Pull perf/urgent fixes and one improvement from Arnaldo Carvalho de Melo:
Fixes:
- Fix prev/next_prio formatting for deadline tasks in libtraceevent (Daniel Bristot de Oliveira)
- Robustify reading of build-ids from /sys/kernel/note (Arnaldo Carvalho de Melo)
- Fix building some sample/bpf in Alpine Linux 3.4 (Arnaldo Carvalho de Melo)
- Fix 'make install-bin' to install libtraceevent plugins (Arnaldo Carvalho de Melo)
- Fix 'perf record --switch-output' documentation and comment (Jiri Olsa)
- Fix 'perf probe' for cross arch probing (Masami Hiramatsu)
Improvement:
- Show total scheduling time in 'perf sched timehist' (Namhyumg Kim)
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'samples')
| -rw-r--r-- | samples/bpf/sock_example.h | 2 | ||||
| -rw-r--r-- | samples/bpf/trace_output_user.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/samples/bpf/sock_example.h b/samples/bpf/sock_example.h index 09f7fe7e5fd7..d8014065d479 100644 --- a/samples/bpf/sock_example.h +++ b/samples/bpf/sock_example.h | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | #include <unistd.h> | 4 | #include <unistd.h> |
| 5 | #include <string.h> | 5 | #include <string.h> |
| 6 | #include <errno.h> | 6 | #include <errno.h> |
| 7 | #include <net/ethernet.h> | 7 | #include <linux/if_ether.h> |
| 8 | #include <net/if.h> | 8 | #include <net/if.h> |
| 9 | #include <linux/if_packet.h> | 9 | #include <linux/if_packet.h> |
| 10 | #include <arpa/inet.h> | 10 | #include <arpa/inet.h> |
diff --git a/samples/bpf/trace_output_user.c b/samples/bpf/trace_output_user.c index f4fa6af22def..ccca1e348017 100644 --- a/samples/bpf/trace_output_user.c +++ b/samples/bpf/trace_output_user.c | |||
| @@ -9,7 +9,6 @@ | |||
| 9 | #include <string.h> | 9 | #include <string.h> |
| 10 | #include <fcntl.h> | 10 | #include <fcntl.h> |
| 11 | #include <poll.h> | 11 | #include <poll.h> |
| 12 | #include <sys/ioctl.h> | ||
| 13 | #include <linux/perf_event.h> | 12 | #include <linux/perf_event.h> |
| 14 | #include <linux/bpf.h> | 13 | #include <linux/bpf.h> |
| 15 | #include <errno.h> | 14 | #include <errno.h> |
