diff options
author | Andi Kleen <[email protected]> | 2017-08-16 15:21:56 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-08-22 13:23:10 -0300 |
commit | 3067eaa7ce2dbcde89d87277cdbc91c211480060 (patch) | |
tree | 1005cd0a1e325d6fe42481c4d9bab46065d4e9c9 /net/lapb/lapb_iface.c | |
parent | 52839e653b5629bd237ad2ecdd8fdd897fcd5712 (diff) |
perf test: Add test cases for new data source encoding
Add some simple tests to perf test to test data source printing.
v2: Make the tests actually checked for the correct name of Forward
v3: Adjust to new encoding
Committer notes:
Avoid the in place declaration to make this build with older compilers,
for instance, in Debian 7 we get:
tests/mem.c: In function 'test__mem':
tests/mem.c:30:5: error: missing initializer [-Werror=missing-field-initializers]
tests/mem.c:30:5: error: (near initialization for '(anonymous).<anonymous>.mem_snoop') [-Werror=missing-field-initializers]
So just zero a struct, then go on building the unions as needed,
reusing settings from the previous test, i.e. local -> remote, etc.
Signed-off-by: Andi Kleen <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Cc: Jiri Olsa <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions