RE: [RFC PATCH v2 2/7] libperf: Move 'open_flags' from tools/perf to evsel::open_flags

From: nakamura.shun@xxxxxxxxxxx
Date: Mon Apr 11 2022 - 04:29:20 EST


Hi jirka

> > struct perf_evsel *perf_evsel__new(struct perf_event_attr *attr) @@
> > -158,7 +159,7 @@ int perf_evsel__open(struct perf_evsel *evsel, struct
> > perf_cpu_map *cpus,
> >
> > fd = sys_perf_event_open(&evsel->attr,
> > threads->map[thread].pid,
> > - cpu, group_fd, 0);
> > + cpu, group_fd,
> evsel->open_flags);
>
> please keep this change just open_flags field move, this change should go to
> later patch
>
I'll fix it.


Best Regards
Shunsuke