|
@@ -623,10 +623,12 @@ repeat:
|
|
return NULL;
|
|
return NULL;
|
|
}
|
|
}
|
|
|
|
|
|
-static int symbol_filter(struct map *map __maybe_unused, struct symbol *sym)
|
|
|
|
|
|
+static int symbol_filter(struct map *map, struct symbol *sym)
|
|
{
|
|
{
|
|
const char *name = sym->name;
|
|
const char *name = sym->name;
|
|
|
|
|
|
|
|
+ if (!map->dso->kernel)
|
|
|
|
+ return 0;
|
|
/*
|
|
/*
|
|
* ppc64 uses function descriptors and appends a '.' to the
|
|
* ppc64 uses function descriptors and appends a '.' to the
|
|
* start of every instruction address. Remove it.
|
|
* start of every instruction address. Remove it.
|