| От | Tom Lane |
|---|---|
| Тема | Re: DTrace probe patch for OS X Leopard |
| Дата | |
| Msg-id | 2791.1204300993@sss.pgh.pa.us обсуждение |
| Ответ на | Re: DTrace probe patch for OS X Leopard (Robert Lor <Robert.Lor@Sun.COM>) |
| Список | pgsql-patches |
Robert Lor <Robert.Lor@Sun.COM> writes:
> Peter Eisentraut wrote:
>> I understand that these probe names follow some global naming scheme. Is it
>> hard to change that? I'd feel more comfortable with, say,
>> (D)TRACE_POSTGRESQL_LWLOCK_ACQUIRE().
>>
> Because the macro is auto generated and follows certain naming
> conventions, prepending TRACE_ will not work. If you did that, the probe
> name will be called "postgresql-lwlock-aquire" and the provider will be
> "trace" which is not what we want.
Ugh. Is this tool really so badly designed that it thinks it has
ownership of the *entire* namespace within the target program?
regards, tom lane
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера