Lines Matching defs:config
322 static char *perf_config_hw_cache_str(__u64 config)
332 hw_cache = perf_event_name(evsel__hw_cache, config & 0xff);
336 snprintf(str, PERF_HW_CACHE_LEN, "%lld-", config & 0xff);
338 op = perf_event_name(evsel__hw_cache_op, (config >> 8) & 0xff);
344 "%lld-", (config >> 8) & 0xff);
346 result = perf_event_name(evsel__hw_cache_result, config >> 16);
352 "%lld", config >> 16);
356 static const char *perf_config_str(__u32 type, __u64 config)
362 perf_config = perf_event_name(event_symbols_hw, config);
365 perf_config = perf_event_name(event_symbols_sw, config);
368 perf_config = perf_config_hw_cache_str(config);
380 __u64 config = info->perf_event.event.config;
390 perf_config = perf_config_str(type, config);
394 jsonw_uint_field(wtr, "event_config", config);
717 __u64 config = info->perf_event.event.config;
728 perf_config = perf_config_str(type, config);
732 printf("%llu ", config);