On 6/7/2018 2:36 AM, Arnaldo Carvalho de Melo wrote:
Em Fri, Jun 01, 2018 at 05:01:02PM +0800, Jin Yao escreveu:
+static int get_symoff(struct symbol *sym, struct addr_location *al,
+ bool print_off, char *bf, int size)
+{
+ unsigned long offset;
+
+ if (!sy
Em Fri, Jun 01, 2018 at 05:01:02PM +0800, Jin Yao escreveu:
> +static int get_symoff(struct symbol *sym, struct addr_location *al,
> + bool print_off, char *bf, int size)
> +{
> + unsigned long offset;
> +
> + if (!sym || !sym->name)
> + return scnprintf(bf,
When doing pmu sampling and then running a script with
perf script -s script.py, the process_event function gets
dictionary with some fields from the perf ring buffer
(like ip, sym, callchain etc).
But we miss quite a few fields we report now, for example,
LBRs,data source,weight,transaction,iregs
3 matches
Mail list logo