blob: cde5cd3ce49bf8c90e4ec720cf13d3a95586ac37 [file] [log] [blame]
/* SPDX-License-Identifier: GPL-2.0 */
#include <string.h>
#include "evlist.h"
#include "env.h"
#include "sample-raw.h"
/*
* Check platform the perf data file was created on and perform platform
* specific interpretation.
*/
void evlist__init_trace_event_sample_raw(struct evlist *evlist)
{
const char *arch_pf = perf_env__arch(evlist->env);
if (arch_pf && !strcmp("s390", arch_pf))
evlist->trace_event_sample_raw = evlist__s390_sample_raw;
}