diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2022-11-04 22:13:35 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2022-11-07 15:30:16 +0300 |
| commit | e1a248911d0694c8f95510fcaa920c0b8e99c26c (patch) | |
| tree | 65bdae266c04476f62a2c29176ce220f83303fbb /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 7747eb75f6185a92db2e4a2643fdf6e4b6d87153 (diff) | |
| download | linux-e1a248911d0694c8f95510fcaa920c0b8e99c26c.tar.xz | |
genetlink: check for callback type at op load time
Now that genl_get_cmd_split() is informed what type of callback
user is trying to access (do or dump) we can check that this
callback is indeed available and return an error early.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
