evlist.c (64b4778b863b6fa84e36e043fb34bde6b847fa96) evlist.c (900c8ead5b0b21d73236ffbc4bc2f47a506d8297)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (C) 2011, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com>
4 *
5 * Parts came from builtin-{top,stat,record}.c, see those files for further
6 * copyright notes.
7 */
8#include <api/fs/fs.h>

--- 1169 unchanged lines hidden (view full) ---

1178}
1179
1180bool evlist__sample_id_all(struct evlist *evlist)
1181{
1182 struct evsel *first = evlist__first(evlist);
1183 return first->core.attr.sample_id_all;
1184}
1185
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (C) 2011, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com>
4 *
5 * Parts came from builtin-{top,stat,record}.c, see those files for further
6 * copyright notes.
7 */
8#include <api/fs/fs.h>

--- 1169 unchanged lines hidden (view full) ---

1178}
1179
1180bool evlist__sample_id_all(struct evlist *evlist)
1181{
1182 struct evsel *first = evlist__first(evlist);
1183 return first->core.attr.sample_id_all;
1184}
1185
1186void perf_evlist__set_selected(struct evlist *evlist,
1187 struct evsel *evsel)
1186void evlist__set_selected(struct evlist *evlist, struct evsel *evsel)
1188{
1189 evlist->selected = evsel;
1190}
1191
1192void evlist__close(struct evlist *evlist)
1193{
1194 struct evsel *evsel;
1195 struct affinity affinity;

--- 746 unchanged lines hidden ---
1187{
1188 evlist->selected = evsel;
1189}
1190
1191void evlist__close(struct evlist *evlist)
1192{
1193 struct evsel *evsel;
1194 struct affinity affinity;

--- 746 unchanged lines hidden ---