OSDN Git Service
(root)
/
android-x86
/
system-extras.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
simpleperf: check perf event limit.
[android-x86/system-extras.git]
/
simpleperf
/
record_file_format.h
diff --git
a/simpleperf/record_file_format.h
b/simpleperf/record_file_format.h
index
9758f11
..
da6434b
100644
(file)
--- a/
simpleperf/record_file_format.h
+++ b/
simpleperf/record_file_format.h
@@
-63,7
+63,7
@@
struct SectionDesc {
uint64_t size;
};
-
static const char* PERF_MAGIC
= "PERFILE2";
+
constexpr char PERF_MAGIC[]
= "PERFILE2";
struct FileHeader {
char magic[8];