systems
static const char *systems[5] = { "None", "SI Linear", "SI Rotation", "English Linear", "English Rotation" };
tab(n, f); seq_printf(f, "Unit(%s : ", systems[sys]);
struct trace_array *trace_array_get_by_name(const char *name, const char *systems);
static inline struct trace_array *trace_array_get_by_name(const char *name, const char *systems)
INIT_LIST_HEAD(&global_trace.systems);
trace_array_create_systems(const char *name, const char *systems,
if (systems) {
tr->system_names = kstrdup_const(systems, GFP_KERNEL);
INIT_LIST_HEAD(&tr->systems);
struct trace_array *trace_array_get_by_name(const char *name, const char *systems)
tr = trace_array_create_systems(name, systems, 0, 0);
struct list_head systems;
list_for_each_entry(iter_dir, &iter_tr->systems, list) {
list_for_each_entry(dir, &tr->systems, list) {
list_add(&dir->list, &tr->systems);
const char *systems)
if (!systems)
p = strstr(systems, system);
if (p != systems && !isspace(*(p - 1)) && *(p - 1) != ',')
list_for_each_entry(dir, &tr->systems, list) {
int systems;
systems = read4(pevent);
for (i = 0; i < systems; i++) {