Cong Wang a34dac0b90 net_sched: add tracepoints for qdisc_reset() and qdisc_destroy()
Add two tracepoints for qdisc_reset() and qdisc_destroy() to track
qdisc resetting and destroying.

Sample output:

  tc-756   [000] ...3   138.355662: qdisc_reset: dev=ens3 kind=pfifo_fast parent=ffff:ffff handle=0:0
  tc-756   [000] ...1   138.355720: qdisc_reset: dev=ens3 kind=pfifo_fast parent=ffff:ffff handle=0:0
  tc-756   [000] ...1   138.355867: qdisc_reset: dev=ens3 kind=pfifo_fast parent=ffff:ffff handle=0:0
  tc-756   [000] ...1   138.355930: qdisc_destroy: dev=ens3 kind=pfifo_fast parent=ffff:ffff handle=0:0
  tc-757   [000] ...2   143.073780: qdisc_reset: dev=ens3 kind=fq_codel parent=ffff:ffff handle=8001:0
  tc-757   [000] ...1   143.073878: qdisc_reset: dev=ens3 kind=fq_codel parent=ffff:ffff handle=8001:0
  tc-757   [000] ...1   143.074114: qdisc_reset: dev=ens3 kind=fq_codel parent=ffff:ffff handle=8001:0
  tc-757   [000] ...1   143.074228: qdisc_destroy: dev=ens3 kind=fq_codel parent=ffff:ffff handle=8001:0

Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Cc: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-05-27 15:05:49 -07:00
..
2020-03-13 23:04:34 +00:00
2018-04-16 11:53:35 +01:00
2019-09-05 20:10:07 +02:00
2020-01-25 02:03:03 -05:00
2019-11-27 07:44:25 +01:00
2017-11-17 09:51:57 -08:00
2019-11-08 11:23:37 +01:00
2019-03-27 15:52:01 -03:00
2017-09-25 20:38:26 +02:00
2020-04-22 12:55:54 -07:00
2020-05-02 11:24:01 -07:00
2018-02-13 21:30:22 +01:00
2020-05-20 15:33:41 +01:00
2017-12-19 10:56:24 +01:00
2020-01-09 18:41:41 -08:00
2020-03-16 12:04:34 -04:00
2019-12-01 14:00:59 -08:00
2020-04-07 10:43:38 -07:00