projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'mips_5.12_1' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux
[linux-2.6-microblaze.git]
/
tools
/
perf
/
util
/
header.c
diff --git
a/tools/perf/util/header.c
b/tools/perf/util/header.c
index
c4ed3dc
..
4fe9e2a
100644
(file)
--- a/
tools/perf/util/header.c
+++ b/
tools/perf/util/header.c
@@
-3806,7
+3806,7
@@
int perf_session__read_header(struct perf_session *session)
* check for the pipe header regardless of source.
*/
err = perf_header__read_pipe(session);
- if (!err ||
(err && perf_data__is_pipe(data)
)) {
+ if (!err ||
perf_data__is_pipe(data
)) {
data->is_pipe = true;
return err;
}