aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2018-06-07 14:19:54 -0300
committerArnaldo Carvalho de Melo <[email protected]>2018-06-07 14:22:53 -0300
commit41477acf092251eb0cfe83068f48dbcb2521478a (patch)
treee3613b2fdb0bc290666b0351107be8a7644ebfd2 /include/linux/fpga/fpga-mgr.h
parent2696ec4566f598ab483a6bebc4ec841b2efb88ec (diff)
perf hists: Save the callchain_size in struct hist_entry
So that we can figure out the real size of the struct and also be able to tell if callchains may be present in this histogram entry. Since we can't always guarantee that from hist_entry->hists we can use hists_to_evsel, to then look at evsel->attr.sample_type for PERF_SAMPLE_CALLCHAIN, like with the 'perf c2c' tool, that uses plain 'struct hists' instances, we need another way of deciding if a specific hist_entry instance has callchains associated with it, i.e. if its hist_entry->callchain[0] has space allocated for. Cc: Adrian Hunter <[email protected]> Cc: David Ahern <[email protected]> Cc: Jin Yao <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Wang Nan <[email protected]> Link: https://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions