summaryrefslogtreecommitdiff
path: root/tools/perf/arch/common.c
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2017-02-03 10:28:52 +0100
committerDavid S. Miller <davem@davemloft.net>2017-02-03 16:35:38 -0500
commitd5e556c6a158893d9e50de3d4e7638f753ffd520 (patch)
tree4756cc68c8aeba0abcabe13f8061c6e15be50105 /tools/perf/arch/common.c
parent2946fde9fd7f6c38beaaf581514b706d07c7aec0 (diff)
mlxsw: item: Add helpers for getting pointer into payload for char buffer item
Sometimes it is handy to get a pointer to a char buffer item and use it direcly to write/read data. So add these helpers. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/arch/common.c')
0 files changed, 0 insertions, 0 deletions