diff options
| author | Matt Macy <mmacy@FreeBSD.org> | 2018-09-14 01:30:05 +0000 |
|---|---|---|
| committer | Matt Macy <mmacy@FreeBSD.org> | 2018-09-14 01:30:05 +0000 |
| commit | 0204d85a62dd18966eae15cc71e9be117b2433c2 (patch) | |
| tree | 1313fd2905e2b04f7684e2eb90d1927ce0962cb5 /lib/libpmc | |
| parent | 3b9156971f7ec928aa3e03ac8dc5eea87ffe8cb7 (diff) | |
Notes
Diffstat (limited to 'lib/libpmc')
| -rw-r--r-- | lib/libpmc/libpmc_pmu_util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libpmc/libpmc_pmu_util.c b/lib/libpmc/libpmc_pmu_util.c index 7aaf6f2a5b18b..583a2d36bc74e 100644 --- a/lib/libpmc/libpmc_pmu_util.c +++ b/lib/libpmc/libpmc_pmu_util.c @@ -237,6 +237,7 @@ pmu_parse_event(struct pmu_event_desc *ped, const char *eventin) return (ENOMEM); r = event; bzero(ped, sizeof(*ped)); + ped->ped_period = DEFAULT_SAMPLE_COUNT; ped->ped_umask = -1; while ((kvp = strsep(&event, ",")) != NULL) { key = strsep(&kvp, "="); |
