|
@@ -49,7 +49,7 @@ struct record {
|
|
int realtime_prio;
|
|
int realtime_prio;
|
|
bool no_buildid;
|
|
bool no_buildid;
|
|
bool no_buildid_cache;
|
|
bool no_buildid_cache;
|
|
- long samples;
|
|
|
|
|
|
+ unsigned long long samples;
|
|
};
|
|
};
|
|
|
|
|
|
static int record__write(struct record *rec, void *bf, size_t size)
|
|
static int record__write(struct record *rec, void *bf, size_t size)
|
|
@@ -667,7 +667,7 @@ static int __cmd_record(struct record *rec, int argc, const char **argv)
|
|
|
|
|
|
auxtrace_snapshot_enabled = 1;
|
|
auxtrace_snapshot_enabled = 1;
|
|
for (;;) {
|
|
for (;;) {
|
|
- int hits = rec->samples;
|
|
|
|
|
|
+ unsigned long long hits = rec->samples;
|
|
|
|
|
|
if (record__mmap_read_all(rec) < 0) {
|
|
if (record__mmap_read_all(rec) < 0) {
|
|
auxtrace_snapshot_enabled = 0;
|
|
auxtrace_snapshot_enabled = 0;
|