mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
libperf: Move fd array from perf's evsel to lobperf's perf_evsel class
Move the fd array from perf's evsel to libperf's perf_evsel class. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Alexey Budankov <alexey.budankov@linux.intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Michael Petlan <mpetlan@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/20190721112506.12306-59-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
4b247fa731
commit
9dfcb75990
5 changed files with 22 additions and 22 deletions
|
@ -1403,7 +1403,7 @@ static int
|
|||
apply_config_evsel_for_key(const char *name, int map_fd, void *pkey,
|
||||
struct evsel *evsel)
|
||||
{
|
||||
struct xyarray *xy = evsel->fd;
|
||||
struct xyarray *xy = evsel->core.fd;
|
||||
struct perf_event_attr *attr;
|
||||
unsigned int key, events;
|
||||
bool check_pass = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue