mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-15 23:25:07 +00:00
d236044272
Now that we see that the simple userspace-based "slicing" of events using delimiter events ("markers") works, lets move it to a separate header to make it available to other tools, next step will be having the switch on/off check done at the PERF_RECORD_SAMPLE processing function moved too. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Florian Weimer <fweimer@redhat.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: William Cohen <wcohen@redhat.com> Link: https://lkml.kernel.org/n/tip-z0cyi9ifzlr37cedr9xztc1k@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
16 lines
344 B
C
16 lines
344 B
C
// SPDX-License-Identifier: GPL-2.0-only
|
|
// Copyright (C) 2019, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com>
|
|
#ifndef __PERF_EVSWITCH_H
|
|
#define __PERF_EVSWITCH_H 1
|
|
|
|
#include <stdbool.h>
|
|
|
|
struct evsel;
|
|
|
|
struct evswitch {
|
|
struct evsel *on, *off;
|
|
bool discarding;
|
|
bool show_on_off_events;
|
|
};
|
|
|
|
#endif /* __PERF_EVSWITCH_H */
|