Re: [PATCH v3 2/3] perf probe: Do not rely on map__load() filter to find symbols

2015-01-15 Thread Masami Hiramatsu
(2015/01/15 8:48), Namhyung Kim wrote: > The find_probe_trace_events_from_map() searches matching symbol from a > map (so from a backing dso). For uprobes, it'll create a new map (and > dso) and loads it using a filter. It's a little bit inefficient in that > it'll read out the symbol table

Re: [PATCH v3 2/3] perf probe: Do not rely on map__load() filter to find symbols

2015-01-15 Thread Masami Hiramatsu
(2015/01/15 8:48), Namhyung Kim wrote: The find_probe_trace_events_from_map() searches matching symbol from a map (so from a backing dso). For uprobes, it'll create a new map (and dso) and loads it using a filter. It's a little bit inefficient in that it'll read out the symbol table

[PATCH v3 2/3] perf probe: Do not rely on map__load() filter to find symbols

2015-01-14 Thread Namhyung Kim
The find_probe_trace_events_from_map() searches matching symbol from a map (so from a backing dso). For uprobes, it'll create a new map (and dso) and loads it using a filter. It's a little bit inefficient in that it'll read out the symbol table everytime but works well anyway. For kprobes

[PATCH v3 2/3] perf probe: Do not rely on map__load() filter to find symbols

2015-01-14 Thread Namhyung Kim
The find_probe_trace_events_from_map() searches matching symbol from a map (so from a backing dso). For uprobes, it'll create a new map (and dso) and loads it using a filter. It's a little bit inefficient in that it'll read out the symbol table everytime but works well anyway. For kprobes