aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2018-05-24 15:31:40 -0300
committerArnaldo Carvalho de Melo <[email protected]>2018-06-04 10:28:51 -0300
commit116c626b9aca10ee7619b06185c22a5b2da19e30 (patch)
treebc1d950b3b9ee9c59f21560e5336feaa583f01c2 /net/switchdev/switchdev.c
parentf40dd6d1b4b29208a7232693746575f7ae6365a5 (diff)
perf annotate: Split allocation of annotated_source struct
So that we can allocate just the notes->src->cyc_hist, that, unlike notes->src->histograms, is not per event, and in paths where we need to lazily allocate notes->src->cyc_hist we don't have the number of events handy to also allocate ->histograms. Cc: Adrian Hunter <[email protected]> Cc: David Ahern <[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 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions