perf hists: Enlarge pid sort entry size
[deliverable/linux.git] / tools / perf / util / dso.h
index 0953280629cffde7373b4689c8cdf5d16e992fb5..76d79d070e21e5e41ca31172d6b779b90586f734 100644 (file)
@@ -349,6 +349,11 @@ static inline bool dso__is_kcore(struct dso *dso)
               dso->binary_type == DSO_BINARY_TYPE__GUEST_KCORE;
 }
 
+static inline bool dso__is_kallsyms(struct dso *dso)
+{
+       return dso->kernel && dso->long_name[0] != '/';
+}
+
 void dso__free_a2l(struct dso *dso);
 
 enum dso_type dso__type(struct dso *dso, struct machine *machine);
This page took 0.027948 seconds and 5 git commands to generate.