aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/thread.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2019-08-27 04:22:25 -0400
committerIngo Molnar <mingo@kernel.org>2019-08-27 04:22:25 -0400
commit794b8bedca9341569e1081bc880e7ea209dbca5c (patch)
treeaccdfe136daf45dea3ee62567a53ae2bfb0f7fd8 /tools/perf/util/thread.h
parent39152ee51b77851689f9b23fde6f610d13566c39 (diff)
parent74a1e863eb73dcc9f069b671dfb40650f3832116 (diff)
Merge tag 'perf-core-for-mingo-5.4-20190826' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
Pull perf/core improvements and fixes from Arnaldo Carvalho de Melo: perf report: Andi Kleen: - Make --ns time sort key output column wide enough for nanoseconds. perf script: Gustavo A. R. Silva: - Fix memory leaks in list_scripts() perf tests: James Clark: - Fixes hang in zstd compression test by changing the source of random data. perf trace: Arnaldo Carvalho de Melo: - augmented_raw_syscalls.c BPF helper improvements. Benjamin Peterson: - Fix off-by-one error in ioctl cmd->string table. libperf: Jiri Olsa: - Move most PERF_RECORD_ structs to perf/event.h. headers: Arnaldo Carvalho de Melo: - Move cacheline related routines to separate source files. - Move record_opts and other record declarations to separate files. - Explicitly add some more needed headers here and there. Souptick Joarder: - Remove some duplicate include directives. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/util/thread.h')
-rw-r--r--tools/perf/util/thread.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/thread.h b/tools/perf/util/thread.h
index bf06113be4f3..51bdb9a7af7f 100644
--- a/tools/perf/util/thread.h
+++ b/tools/perf/util/thread.h
@@ -16,7 +16,7 @@
16 16
17struct addr_location; 17struct addr_location;
18struct map; 18struct map;
19struct namespaces_event; 19struct perf_record_namespaces;
20struct thread_stack; 20struct thread_stack;
21struct unwind_libunwind_ops; 21struct unwind_libunwind_ops;
22 22
@@ -74,7 +74,7 @@ static inline void thread__exited(struct thread *thread)
74 74
75struct namespaces *thread__namespaces(struct thread *thread); 75struct namespaces *thread__namespaces(struct thread *thread);
76int thread__set_namespaces(struct thread *thread, u64 timestamp, 76int thread__set_namespaces(struct thread *thread, u64 timestamp,
77 struct namespaces_event *event); 77 struct perf_record_namespaces *event);
78 78
79int __thread__set_comm(struct thread *thread, const char *comm, u64 timestamp, 79int __thread__set_comm(struct thread *thread, const char *comm, u64 timestamp,
80 bool exec); 80 bool exec);