commit d1edce71135cc6d98c0a4b5729774542b676e769 Author: sophgo-forum-service <forum_service@sophgo.com> Date: Fri Mar 15 16:07:33 2024 +0800 [fix] recommend using ssh method to clone repo. [fix] fix sensor driver repo branch name.
19 lines
463 B
C
19 lines
463 B
C
/* 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 perf_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 = perf_evlist__s390_sample_raw;
|
|
}
|